diff --git a/src/logs.jl b/src/logs.jl index 693396b..35f4b1d 100644 --- a/src/logs.jl +++ b/src/logs.jl @@ -20,6 +20,9 @@ function fatal_error( msg::AbstractString; exception::Exception = ErrorException("Fatal error"), ) + logger = Logging.global_logger() + close_polyglot_logger(logger) + @logmsg FatalErrorLevel msg throw(exception) return nothing