Skip to content

Commit 3fc8b68

Browse files
committed
Merge branch 'hotfix/fix-fatal-exception-auto-reply' into main
2 parents a493145 + 1f36ced commit 3fc8b68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyttman/core/internals.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ def _generate_error_entry(message: MessageMixin, exc: BaseException) -> Reply:
131131
f"The error was caught while processing "
132132
f"message: '{message}'. Error message: '{exc}'")
133133

134-
return Reply(f"{pyttman.settings.FATAL_EXCEPTION_AUTO_REPLY} - "
135-
f"Error id: {error_id}")
134+
auto_reply = pyttman.settings.MIDDLEWARE['FATAL_EXCEPTION_AUTO_REPLY']
135+
return Reply(f"{auto_reply} ({error_id})")
136136

137137

138138
@dataclass

0 commit comments

Comments
 (0)