diff --git a/src/EventInvocation.js b/src/EventInvocation.js index 40c29421..66dc6e7f 100644 --- a/src/EventInvocation.js +++ b/src/EventInvocation.js @@ -204,7 +204,7 @@ export class EventInvocation { moduleWithEventName = moduleWithEventName.split('_')[1]; } - const { id, promise } = await this.registerEventInTransport(moduleWithEventName); + const { id, promise } = await this.registerEventInTransport(moduleWithEventName, params); const result = await promise; if (result && result.message) { throw result.message; diff --git a/src/FireboltTransportInvoker.js b/src/FireboltTransportInvoker.js index 2f545b8e..c54e08ea 100644 --- a/src/FireboltTransportInvoker.js +++ b/src/FireboltTransportInvoker.js @@ -17,6 +17,7 @@ */ import Transport from '@firebolt-js/sdk/dist/lib/Transport'; +const logger = require('./utils/Logger')('FireboltTransportInvoker.js'); let getInvoker; try { getInvoker = require('../plugins/FireboltExtensionInvoker').getInvoker;