Skip to content

Commit

Permalink
Add better log output
Browse files Browse the repository at this point in the history
  • Loading branch information
jbn committed Oct 2, 2018
1 parent f35f81f commit bb89803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brittle_wit/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def retrying(make_coro, n_tries, strategy=linear_backoff, sleep_time=60):
try:
return await make_coro()
except Exception as e:
LOGGER.error("Error %s", e)
LOGGER.error("Error %s %s %s", e, make_coro, attempt)
wrapped = WrappedException.wrap_if_nessessary(e)
if not wrapped.is_retryable or attempt == n_tries:
raise wrapped
Expand Down

0 comments on commit bb89803

Please sign in to comment.