Skip to content

Update unexcepted exception handling to log full traceback #295

@tofu-rocketry

Description

@tofu-rocketry

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.')

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions