simplify error message

This commit is contained in:
Dave Horton
2022-04-21 14:43:09 -04:00
parent 13ea559cb1
commit 36c97e9562

View File

@@ -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'));
}