Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 19c67e1

Browse files
authored
Fix an ReferenceError. (#1038)
msg is defined in try statement, not defined in catch statement.
1 parent bca4ebb commit 19c67e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/common/amqpClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ class Monitor {
359359
log.debug('Received monitoring message:', msg);
360360
this.onMessage && this.onMessage(msg);
361361
} catch (error) {
362-
log.error('Error processing monitored message:', msg, 'and error:', error);
362+
log.error('Error processing monitored message:', rawMessage, 'and error:', error);
363363
}
364364
}, {noAck: true});
365365
}).then((ok) => {

0 commit comments

Comments
 (0)