From 36c97e9562386bd60fdd4bf9fd66757b648d8626 Mon Sep 17 00:00:00 2001 From: Dave Horton Date: Thu, 21 Apr 2022 14:43:09 -0400 Subject: [PATCH] simplify error message --- lib/tasks/task.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/task.js b/lib/tasks/task.js index 4bcabcfc..be2fddb3 100644 --- a/lib/tasks/task.js +++ b/lib/tasks/task.js @@ -138,7 +138,7 @@ class Task extends Emitter { } notifyError(errMsg) { - const params = {error: errMsg, ...this.cs.callInfo.toJSON()}; + const params = {error: errMsg, verb: this.name}; this.cs.requestor.request('jambonz:error', '/error', params) .catch((err) => this.logger.info({err}, 'Task:notifyError error sending error')); }