Skip to content

Commit

Permalink
log simpletr64 errors, closes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
danielschenk committed Jul 21, 2022
1 parent ba29745 commit 8366f61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modem_watchdog.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ def main():
if 'could not execute' not in str(e).lower():
# not an exception of simpleTR64 as far as i know
raise
else:
logger.error(f'simpletr64: {e}')

time.sleep(args.check_interval if connected else 1)

Expand Down

0 comments on commit 8366f61

Please # to comment.