PAOFLOW.utils.report_exception#

Functions#

report_exception()

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 except block. It retrieves the active exception via sys.exc_info() and prints the exception class, value, and full traceback. It is used throughout PAOFLOW as a lightweight diagnostic alternative to logging when an exception must be reported without suppressing the calling code flow.