PAOFLOW.utils.report_exception#
Functions#
Print the current exception type, message, and traceback to standard output. |
Module Contents#
- PAOFLOW.utils.report_exception.report_exception()[source]#
Print the current exception type, message, and traceback to standard output.
- Return type:
None
Notes
This function is intended to be called inside an
exceptblock. It retrieves the active exception viasys.exc_info()and prints the exception class, value, and full traceback. It is used throughout PAOFLOW as a lightweight diagnostic alternative tologgingwhen an exception must be reported without suppressing the calling code flow.