Skip to content

Commit

Permalink
fix: error handling, logging
Browse files Browse the repository at this point in the history
  • Loading branch information
zetxx committed Jan 7, 2020
1 parent 72316ab commit 9899191
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ class Brid {
var globTraceId = this.getGlobTraceId(meta);
try {
this.remoteApiRequest({destination, message, meta: Object.assign({}, meta, {globTraceId}, metaParams, {isNotification: 1})})
.catch((error) => this.log('error', {in: 'base.getInternalCommunicationContext.notification.error', destination, message, metaParams, meta: getSerializableMeta(meta), error}));
} catch (error) {
this.log('error', {
in: 'base.getInternalCommunicationContext.notification.response',
Expand Down

0 comments on commit 9899191

Please sign in to comment.