Skip to content

Commit

Permalink
Log exception traceback when watchdog loop raises
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Mar 2, 2021
1 parent 0068e8f commit 1726937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage_service/locations/models/async_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _watchdog():
with metrics.watchdog_loop_timer():
AsyncManager._watchdog_loop()
except Exception as e:
LOGGER.warning("Failure in watchdog thread: %s", e)
LOGGER.warning("Failure in watchdog thread: %s", e, exc_info=True)

time.sleep(WATCHDOG_POLL_SECONDS)

Expand Down

0 comments on commit 1726937

Please sign in to comment.