File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -198,8 +198,8 @@ async def _run_handler(
198
198
if msg .args and (node_id := msg .args .get ("node_id" )):
199
199
message_str += f" (node { node_id } )"
200
200
self ._logger .error (
201
- "Error while handling command : %s: %s" ,
202
- msg . command ,
201
+ "Error while handling: %s: %s" ,
202
+ message_str ,
203
203
str (err ) or err .__class__ .__name__ ,
204
204
# only print the full stacktrace if debug logging is enabled
205
205
exc_info = err if self ._logger .isEnabledFor (logging .DEBUG ) else None ,
@@ -209,7 +209,7 @@ async def _run_handler(
209
209
)
210
210
except Exception as err : # pylint: disable=broad-except
211
211
self ._logger .exception (
212
- "Unhandled exception while handling command : %s" ,
212
+ "Unhandled exception while handling: %s" ,
213
213
msg .command ,
214
214
)
215
215
error_code = getattr (err , "error_code" , 0 )
You can’t perform that action at this time.
0 commit comments