Skip to content

Commit

Permalink
Pass along details of the MultipleMatches exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Mar 5, 2014
1 parent e29f5c6 commit b64169b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bugwarrior/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,8 @@ def _bool_option(section, option, default):
else:
issue_updates['existing'].append(task)
issue_updates['closed'].remove(existing_uuid)
except MultipleMatches:
log.name('bugwarrior').error(
"Multiple matches found for issue: %s" % issue
)
except MultipleMatches as e:
log.name('bugwarrior').trace(e)
except NotFound:
issue_updates['new'].append(dict(issue))

Expand Down

0 comments on commit b64169b

Please sign in to comment.