Update log message
This commit is contained in:
		
							parent
							
								
									fde9d1bd20
								
							
						
					
					
						commit
						3c521ee488
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -183,10 +183,10 @@ async function init(): Promise<State> { | |||
| 	// Try to connect to MongoDB
 | ||||
| 	try { | ||||
| 		const db = await initdb(config); | ||||
| 		log('Info', 'Success to connect to MongoDB'); | ||||
| 		log('Info', 'Successfully connected', 'MongoDB'); | ||||
| 		db.close(); | ||||
| 	} catch (e) { | ||||
| 		log('Error', `MongoDB: ${e}`); | ||||
| 		log('Error', `${e}`, 'MongoDB'); | ||||
| 		return State.failed; | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue