splunk-sdk-python icon indicating copy to clipboard operation
splunk-sdk-python copied to clipboard

Log unhandled exceptions on external commands

Open asieira opened this issue 9 years ago • 0 comments

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.

asieira avatar Aug 25 '17 18:08 asieira