1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge branch 'dev' of github.com:node-red/node-red into dev

This commit is contained in:
Nick O'Leary 2020-09-03 11:17:09 +01:00
commit e73b748b95
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -124,6 +124,7 @@ Node.prototype.context = function() {
* @param {error} error (optional) an error hit whilst handling the message * @param {error} error (optional) an error hit whilst handling the message
*/ */
Node.prototype._complete = function(msg,error) { Node.prototype._complete = function(msg,error) {
this.metric("done",msg);
if (error) { if (error) {
// For now, delegate this to this.error // For now, delegate this to this.error
// But at some point, the timeout handling will need to know about // But at some point, the timeout handling will need to know about