events: improve the error message on missing event commits
This commit is contained in:
parent
da3101e51f
commit
fe14747d7b
1 changed files with 2 additions and 1 deletions
|
|
@ -132,7 +132,8 @@ def _commits_as_dict(event, commit_ids, repos):
|
|||
|
||||
missing_commits = set(commit_ids) - set(c['raw_id'] for c in commits)
|
||||
if missing_commits:
|
||||
log.error('missing commits: %s' % ', '.join(missing_commits))
|
||||
log.error('Inconsistent repository state. '
|
||||
'Missing commits: %s' % ', '.join(missing_commits))
|
||||
|
||||
return commits
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue