mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Add on error method to exec node... (should have been there before :-)
This commit is contained in:
		| @@ -55,6 +55,9 @@ module.exports = function(RED) { | ||||
|                             node.status({}); | ||||
|                             node.send([null,null,msg]); | ||||
|                         }); | ||||
|                         ex.on('error', function (code) { | ||||
|                             node.warn(code); | ||||
|                         }); | ||||
|                     } | ||||
|                     else { node.error("Spawn command must be just the command - no spaces or extra parameters"); } | ||||
|                 } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user