We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a757a66 + b2d584e commit 3df9ad6Copy full SHA for 3df9ad6
packages/playout-gateway/src/coreHandler.ts
@@ -261,7 +261,7 @@ export class CoreHandler {
261
fcnObject
262
.executeAction(cmd.actionId, cmd.payload)
263
.then((result) => cb(null, result))
264
- .catch((e) => cb(e.toString, null))
+ .catch((e) => cb(stringifyError(e), null))
265
} else if (cmd.actionId) {
266
this.logger.warning(`Could not execute action "${cmd.actionId}", because there is no handler`)
267
cb(`Could not execute action "${cmd.actionId}", because there is no handler`)
0 commit comments