Skip to content

Commit

Permalink
Minor logging improvement.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Sep 17, 2022
1 parent 1cfeb17 commit df766fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bowtie/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ class Result:
expected: bool | None

def report(self, reporter):
if "errored" in self.contents:
errored = self.contents.pop("errored", None)
if errored:
return reporter.errored(self.implementation, self.contents)

reporter.got_results(
Expand Down

0 comments on commit df766fa

Please sign in to comment.