exit
tergite_autocalibration.utils.handlers.exit
Functions:
| Name | Description |
|---|---|
exception_handler |
Handle uncaught exceptions |
exit_handler |
Cleanup actions on exit of the autocalibration |
set_log_dir_exit_status |
Renames the logdir by changing the status prefix. |
set_log_dir_exit_status
set_log_dir_exit_status(status_code: ApplicationStatus)
Renames the logdir by changing the status prefix. This function should only be called when shutting down the application. Otherwise, it could be that logs will end up in a wrong directory.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
status_code
|
ApplicationStatus
|
The status code of the logdir |
required |