mirror of
				https://github.com/easingthemes/ssh-deploy.git
				synced 2025-10-30 23:30:09 +08:00 
			
		
		
		
	log error and exit
This commit is contained in:
		
							parent
							
								
									9aabe10cb3
								
							
						
					
					
						commit
						b8f0959bb4
					
				| @ -38,9 +38,10 @@ const run = async () => { | ||||
| }; | ||||
| 
 | ||||
| run() | ||||
|   .then(() => { | ||||
|     console.log('DONE'); | ||||
|   .then((data) => { | ||||
|     console.log('DONE', data); | ||||
|   }) | ||||
|   .catch(() => { | ||||
|     console.error('ERROR'); | ||||
|   .catch((error) => { | ||||
|     console.error('ERROR', error.message); | ||||
|     process.exit(1); | ||||
|   }); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Dragan Filipovic
						Dragan Filipovic