From b64169bd954843d4a7f532f6acd1ecae0acc2bfb Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 5 Mar 2014 16:50:48 -0500 Subject: [PATCH] Pass along details of the MultipleMatches exception. --- bugwarrior/db.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bugwarrior/db.py b/bugwarrior/db.py index 8ff454884..4f58d4ef5 100644 --- a/bugwarrior/db.py +++ b/bugwarrior/db.py @@ -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))