Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update unexcepted exception handling to log full traceback #295

Closed
tofu-rocketry opened this issue Feb 7, 2024 · 0 comments · Fixed by #314
Closed

Update unexcepted exception handling to log full traceback #295

tofu-rocketry opened this issue Feb 7, 2024 · 0 comments · Fixed by #314
Assignees
Labels
Milestone

Comments

@tofu-rocketry
Copy link
Member

agents.py does stuff like the below when it encounters an exception it can't handle. This should be changed to use logging.exception so that the full traceback is captured for posterity. Needs changing for receiver and sender methods.

      except Exception as e:
        log.error('Unexpected exception: %s', e)
        log.error('Exception type: %s', e.__class__)
        log.error('The SSM will exit.')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants