Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 41236dab authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- explicited error message when no database is active

parent 0d4999c1
No related branches found
No related tags found
No related merge requests found
...@@ -163,7 +163,7 @@ public class AlignmentService extends CommonCLI { ...@@ -163,7 +163,7 @@ public class AlignmentService extends CommonCLI {
connection.init(); connection.init();
connection.connect( DBHOST, DBPORT, DBUSER, DBPASS, DBBASE ); connection.connect( DBHOST, DBPORT, DBUSER, DBPASS, DBBASE );
} catch ( Exception ex ) { } catch ( Exception ex ) {
logger.error( ex.getMessage() ); logger.error( "Cannot connect to database : {}", ex.getMessage() );
System.exit(-1); System.exit(-1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment