Skip to content

Commit

Permalink
Refactor comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kkedziak-splunk committed May 8, 2024
1 parent 3dab0b5 commit be7dfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splunklib/modularinput/event_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def log_exception(self, message, exception=None, severity=None):
:param message: ``string``, message to log.
:param exception: ``Exception``, exception thrown by this modular input; if none, sys.exc_info() is used
:param severity: ``string``, severity of message, see severities defined as class constants. Default: ERROR
:param severity: ``string``, severity of message, see severities defined as class constants. Default severity: ERROR
"""
if exception is not None:
tb_str = traceback.format_exception(type(exception), exception, exception.__traceback__)
Expand Down

0 comments on commit be7dfe0

Please sign in to comment.