Skip to content

Commit

Permalink
243 update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianMontaguSmartDCSIT committed Oct 25, 2024
1 parent 5a078e0 commit 657dd3f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tel2puml/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def handle_exception(
user_error: bool = False,
custom_message: str = "",
) -> None:
"""Handle exceptions with custom messaging and exit codes.
"""Handle exceptions with custom messaging.
:param e: The exception instance to handle.
:type e: :class:`Exception`
Expand All @@ -307,8 +307,6 @@ def handle_exception(
:type user_error: `bool`, optional
:param custom_message: Custom error message for user, defaults to "".
:type custom_message: `str`, optional
:param exit_code: Exit code for the program, defaults to 1.
:type exit_code: `int`, optional
"""
if debug:
print(f"DEBUG: {traceback.format_exc()}")
Expand Down

0 comments on commit 657dd3f

Please sign in to comment.