brian_excepthook function

(Shortest import: from brian2.utils.logger import brian_excepthook)

brian2.utils.logger.brian_excepthook(exc_type, exc_obj, exc_tb)[source]

Display a message mentioning the debug log in case of an uncaught exception.