diff options
-rw-r--r-- | src/main/java/org/openslx/imagemaster/db/Database.java | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/main/java/org/openslx/imagemaster/db/Database.java b/src/main/java/org/openslx/imagemaster/db/Database.java index 7ff12a4..0832649 100644 --- a/src/main/java/org/openslx/imagemaster/db/Database.java +++ b/src/main/java/org/openslx/imagemaster/db/Database.java @@ -78,15 +78,8 @@ public class Database try {
Class.forName( "com.mysql.cj.jdbc.Driver" ).newInstance();
} catch ( Exception e1 ) {
- LOGGER.warn( "Cannot get mysql JDBC driver (new path)", e1 );
- LOGGER.info( "Trying old path..." );
- try {
- Class.forName( "com.mysql.jdbc.Driver" ).newInstance();
- } catch ( Exception e2 ) {
- LOGGER.fatal( "Cannot get mysql JDBC driver (old path)", e2 );
- LOGGER.fatal( "Bailing!" );
- System.exit( 1 );
- }
+ LOGGER.fatal( "Cannot get mysql JDBC driver", e1 );
+ System.exit( 1 );
}
}
|