mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Fix error log in runtime hooks module
This commit is contained in:
		| @@ -101,7 +101,7 @@ function add(hookId, callback) { | ||||
| function remove(hookId) { | ||||
|     let [id,label] = hookId.split("."); | ||||
|     if ( !label) { | ||||
|         throw new Error("Cannot remove hook without label: ",hookId) | ||||
|         throw new Error("Cannot remove hook without label: "+hookId) | ||||
|     } | ||||
|     Log.debug(`Removing hook '${hookId}'`); | ||||
|     if (labelledHooks[label]) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user