Exceptions are not being serialized
Opened this issue · 0 comments
gyula-lakatos commented
First of all, the handler is awesome! Thanks for working on it.
My problem is that whenever I print an exception like this:
logger.exception(
"Caught an application wide error! Restarting!", exc_info=e
)
Only Caught an application wide error! Restarting!
is being sent to Splunk and the exc_info
parameter is ignored. Normally, the exception is printed into the console.
I think, ideally, the event variable should include an exception parameter whenever the log record
's exc_info
parameter is not None
.