You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for the handleError function of logging.Handler implies that exceptions should be caught by emit and handled by invoking handleError. This allows the environment to customer how logging errors are handled.
The net result is that exceptions triggered when running the fluent logger (either in format or otherwise) are raised, as opposed to log, which is inconsistent with the rest of the logging Handlers.
The fluent logger should call handleError.
The text was updated successfully, but these errors were encountered:
The documentation for the
handleError
function oflogging.Handler
implies that exceptions should be caught byemit
and handled by invokinghandleError
. This allows the environment to customer how logging errors are handled.The fluent logger Handler does not do this:
fluent-logger-python/fluent/handler.py
Line 237 in d1b81ba
The net result is that exceptions triggered when running the fluent logger (either in format or otherwise) are raised, as opposed to log, which is inconsistent with the rest of the logging Handlers.
The fluent logger should call handleError.
The text was updated successfully, but these errors were encountered: