Skip to content

Commit

Permalink
Don't report errors in case of NoResultError
Browse files Browse the repository at this point in the history
  • Loading branch information
tuokri committed Jan 25, 2025
1 parent 3567af2 commit 8b70f2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bobuild/tasks_bo.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,9 @@ async def check_for_updates(
# show them all. Otherwise generate a list of most common
# warnings and show top 10 warnings (and their counts).

except NoResultError:
# No need to report anything in this case.
raise
except (Exception, asyncio.CancelledError, KeyboardInterrupt) as e:
logger.error("error running task: {}: {}: {}",
context.message, type(e).__name__, e)
Expand Down

0 comments on commit 8b70f2e

Please sign in to comment.