mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	meshuser: log uncaught exceptions to mesherrs
This commit is contained in:
		
							parent
							
								
									ff4c67da7c
								
							
						
					
					
						commit
						ad6ff11413
					
				
					 2 changed files with 12 additions and 6 deletions
				
			
		|  | @ -555,7 +555,9 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use | |||
|         if (commandHandler != null) {  | ||||
|             try { commandHandler(command); return; | ||||
|             } catch (e) { | ||||
|                 console.log('Unhandled error while processing ' + command.action + ' for user ' +  + user.name + ':\n' + e); | ||||
|                 console.log('Unhandled error while processing ' + command.action + ' for user ' + user.name + ':\n' + e); | ||||
|                 parent.parent.logError(e.stack); | ||||
|                 return; | ||||
|             } | ||||
|         } else { | ||||
|             // console.log('Unknown action from user ' + user.name + ': ' + command.action + '.');
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue