Skip to content

Commit

Permalink
Log the exception
Browse files Browse the repository at this point in the history
  • Loading branch information
vinothchandar committed Nov 29, 2011
1 parent 96430d2 commit d213fd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/java/voldemort/server/VoldemortServer.java
Expand Up @@ -136,9 +136,9 @@ private void checkHostName() {
+ "] does not seem to match current node.");
}
} catch(UnknownHostException uhe) {
logger.warn("Unable to obtain IP information for current node");
logger.warn("Unable to obtain IP information for current node", uhe);
} catch(SecurityException se) {
logger.warn("Security Manager does not permit obtaining IP Information");
logger.warn("Security Manager does not permit obtaining IP Information", se);
}
}

Expand Down
2 changes: 1 addition & 1 deletion test/unit/voldemort/store/routed/RoutedStoreTest.java
Expand Up @@ -421,7 +421,7 @@ public void testZoneRouting() throws Exception {
s1.get(new ByteArray("test".getBytes()), null);
} finally {
long elapsed = (System.nanoTime() - start) / Time.NS_PER_MS;
assertTrue(elapsed + " < " + 81, elapsed < 81);
assertTrue(elapsed + " < " + 130, elapsed < 130);
}

start = System.nanoTime();
Expand Down

0 comments on commit d213fd9

Please sign in to comment.