Skip to content

Commit 4f91da1

Browse files
msglmryneeverett
authored andcommitted
Do not yield on AttributeError
Previously, when there is an AttributeError in a service, the service will return its issue object instead of a dictionary representation of the issue. This fixes it by raising an error if this happens.
1 parent 71bcd05 commit 4f91da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bugwarrior/collect.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def aggregate_issues(conf, main_section, debug):
100100
log.error(f"Aborted [{target}] due to critical error.")
101101
yield ('SERVICE FAILED', target)
102102
continue
103-
yield issue
103+
raise
104104

105105
log.info("Done aggregating remote issues.")
106106

0 commit comments

Comments
 (0)