[ 1839065 ] Connection dialog hang if database parameter is not valid
This commit is contained in:
parent
c480975544
commit
0d09eb4b08
|
@ -279,7 +279,10 @@ public final class DB
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
log.log(Level.SEVERE, "Could not connect to DB", e);
|
||||
//logging here could cause infinite loop
|
||||
//log.log(Level.SEVERE, "Could not connect to DB", e);
|
||||
System.err.println("Could not connect to DB - " + e.getLocalizedMessage());
|
||||
e.printStackTrace();
|
||||
success = false;
|
||||
}
|
||||
return success;
|
||||
|
|
Loading…
Reference in New Issue