From 657dd3fbd86c911eebb61712156a6d9dc86fdfa3 Mon Sep 17 00:00:00 2001 From: Adrian Montagu Date: Fri, 25 Oct 2024 11:32:52 +0000 Subject: [PATCH] 243 update docstring --- tel2puml/__main__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tel2puml/__main__.py b/tel2puml/__main__.py index c2c7eaaf..17cb5a01 100644 --- a/tel2puml/__main__.py +++ b/tel2puml/__main__.py @@ -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` @@ -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()}")