Merge pull request #484 from yaotti/show-stack-traces-for-boot-failure
Print stack traces when starting app failed in addition to a dialog
This commit is contained in:
		
				commit
				
					
						a0bf74b9df
					
				
			
		
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -34,6 +34,7 @@ if (argv._.length > 0) {
 | 
			
		|||
  } catch(e) {
 | 
			
		||||
    if (e.code == 'MODULE_NOT_FOUND') {
 | 
			
		||||
      app.focus();
 | 
			
		||||
      console.error(e.stack);
 | 
			
		||||
      dialog.showMessageBox({
 | 
			
		||||
        type: 'warning',
 | 
			
		||||
        buttons: ['OK'],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue