splunk-sdk-python
splunk-sdk-python copied to clipboard
Log unhandled exceptions on external commands
It would be pretty useful if calls to generate on the base GeneratingCommand class (and similar calls to the methods that custom commands must implement) were surrounded by a try / catch block that logs any unhandled exceptions to self.logger.
This would be exceptionally useful for troubleshooting when writing new commands.