mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Fix node.error() not printing when passed false (#1037)
This should fix #1036
This commit is contained in:
		
				
					committed by
					
						 Nick O'Leary
						Nick O'Leary
					
				
			
			
				
	
			
			
			
						parent
						
							9a4ff5cb43
						
					
				
				
					commit
					0a5a42b32a
				
			| @@ -236,7 +236,9 @@ Node.prototype.warn = function(msg) { | ||||
| }; | ||||
|  | ||||
| Node.prototype.error = function(logMessage,msg) { | ||||
|     if (typeof logMessage != 'boolean') { | ||||
|         logMessage = logMessage || ""; | ||||
|     } | ||||
|     log_helper(this, Log.ERROR, logMessage); | ||||
|     /* istanbul ignore else */ | ||||
|     if (msg) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user