File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -174,9 +174,10 @@ export class CharactersWorker {
174174 message . data ?. name && message . data ?. realm
175175 ? `${ message . data . name } @${ message . data . realm } `
176176 : 'unknown' ;
177+ const updatedBy = message . data ?. updatedBy || 'unknown' ;
177178
178179 this . logger . error (
179- `${ chalk . red ( '✗' ) } Failed [${ chalk . bold ( this . stats . total ) } ] ${ guid } ${ chalk . dim ( `(${ duration } ms)` ) } - ${ errorOrException . message } ` ,
180+ `${ chalk . red ( '✗' ) } Failed [${ chalk . bold ( this . stats . total ) } ] ${ guid } ${ chalk . dim ( `(${ duration } ms)` ) } [ ${ chalk . bold ( updatedBy ) } ] - ${ errorOrException . message } ` ,
180181 ) ;
181182
182183 this . rabbitMQMonitorService . recordMessageProcessingDuration (
Original file line number Diff line number Diff line change @@ -210,9 +210,10 @@ export class GuildsWorker {
210210 message . data ?. name && message . data ?. realm
211211 ? `${ message . data . name } @${ message . data . realm } `
212212 : 'unknown' ;
213+ const updatedBy = message . data ?. updatedBy || 'unknown' ;
213214
214215 this . logger . error (
215- `${ chalk . red ( '✗' ) } Failed [${ chalk . bold ( this . stats . total ) } ] ${ guid } ${ chalk . dim ( `(${ duration } ms)` ) } - ${ errorOrException . message } ` ,
216+ `${ chalk . red ( '✗' ) } Failed [${ chalk . bold ( this . stats . total ) } ] ${ guid } ${ chalk . dim ( `(${ duration } ms)` ) } [ ${ chalk . bold ( updatedBy ) } ] - ${ errorOrException . message } ` ,
216217 ) ;
217218
218219 this . rabbitMQMonitorService . recordMessageProcessingDuration (
You can’t perform that action at this time.
0 commit comments