Get rid of error message for non-error.

git-svn-id: file:///home/svn/framework3/trunk@12120 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Matt Weeks 2011-03-24 00:15:18 +00:00
parent c09be5561d
commit b220156911
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -1278,7 +1278,8 @@ nameloop: for (int i = 0; i < names.length; i++) {
/** Refreshes the database tables. */ /** Refreshes the database tables. */
private void reloadDb() { private void reloadDb() {
try { //First try to reset workspace to chosen workspace try { //First try to reset workspace to chosen workspace
rpcConn.execute("db.set_workspace", MsfguiApp.getPropertiesNode().get("workspace")); if(MsfguiApp.getPropertiesNode().containsKey("workspace"))
rpcConn.execute("db.set_workspace", MsfguiApp.getPropertiesNode().get("workspace"));
} catch (MsfException mex) { } catch (MsfException mex) {
if(!mex.getMessage().equals("database not loaded")) if(!mex.getMessage().equals("database not loaded"))
mex.printStackTrace(); mex.printStackTrace();