Add an IgnoreErrors property to TEventLog
Original Reporter info from Mantis: luca @olivluca
-
Reporter name: Luca Olivetti
Original Reporter info from Mantis: luca @olivluca
- Reporter name: Luca Olivetti
Description:
In case of errors TEventLog raises an exception. In some cases, instead of wrapping each call to log/info/warning in a try/except block, it would be useful if TEventLog ignored the error.
Additional information:
I "discovered" this problem using daemonapp, for whatever reason the windows system logger stopped working and so it also stopped the service written with daemonapp, since it tries to log the status of the service and it doesn't catch the exception.
Mantis conversion info:
- Mantis ID: 11097
- Version: 2.2.1
- Fixed in version: 2.2.2
- Fixed in revision: 11146 (#1f2b1aa8)
- Target version: 2.2.2