Skip to content

Commit 1d18522

Browse files
committed
error_code optional
1 parent 4e4eb47 commit 1d18522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/service-library/src/servicelib/logging_errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def create_troubleshotting_log_message(
1414
user_error_msg: str,
1515
*,
1616
error: BaseException,
17-
error_code: ErrorCodeStr,
17+
error_code: ErrorCodeStr | None = None,
1818
error_context: dict[str, Any] | None = None,
1919
tip: str | None = None,
2020
) -> str:

0 commit comments

Comments
 (0)