PyDocs

Nav

Generic Operating System Services

Handler.handleError

logging

method of Handler (source)
  • Handler.handleError(record)
Handle errors which occur during an emit() call.

This method should be called from handlers when an exception is
encountered during an emit() call. If raiseExceptions is false,
exceptions get silently ignored. This is what is mostly wanted
for a logging system - most users will not care about errors in
the logging system, they are more interested in application errors.
You could, however, replace this with a custom handler if you wish.
The record which was being processed is passed in to this method.
0 Examples
No examples for logging/Handler.handleError.
See Also
No see-alsos for logging/Handler.handleError
0 Notes
No notes for Handler.handleError