File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -378,12 +378,14 @@ subclasses. However, the :meth:`__init__` method in subclasses needs to call
378378.. method :: Handler.handleError(record)
379379
380380 This method should be called from handlers when an exception is encountered
381- during an :meth: `emit ` call. By default it does nothing, which means that
382- exceptions get silently ignored. This is what is mostly wanted for a logging
383- system - most users will not care about errors in the logging system, they are
384- more interested in application errors. You could, however, replace this with a
385- custom handler if you wish. The specified record is the one which was being
386- processed when the exception occurred.
381+ during an :meth: `emit ` call. If the module-level attribute
382+ ``raiseExceptions `` is ``False ``, exceptions get silently ignored. This is
383+ what is mostly wanted for a logging system - most users will not care about
384+ errors in the logging system, they are more interested in application
385+ errors. You could, however, replace this with a custom handler if you wish.
386+ The specified record is the one which was being processed when the exception
387+ occurred. (The default value of ``raiseExceptions `` is ``True ``, as that is
388+ more useful during development).
387389
388390
389391.. method :: Handler.format(record)
You can’t perform that action at this time.
0 commit comments