[ 1839065 ] Connection dialog hang if database parameter is not valid

This commit is contained in:
Heng Sin Low 2007-12-02 11:23:26 +00:00
parent c480975544
commit 0d09eb4b08
1 changed files with 4 additions and 1 deletions

View File

@ -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;