Skip to content

Commit

Permalink
Mute noisy exception when node hasn't registered yet (reverting previous
Browse files Browse the repository at this point in the history
recent commit)
  • Loading branch information
mmichalek committed Jan 9, 2018
1 parent 8c526fc commit 0526fee
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -342,7 +342,8 @@ public Node findIdentity(boolean useCache, boolean logSqlError) {
cachedNodeIdentity = (Node) getFirstEntry(list);
} catch (SqlException ex) {
if (logSqlError) {
log.info("Failed to load the node identity. Returning " + cachedNodeIdentity, ex);
// This is at debug level because it gets called pre-registration
log.debug("Failed to load the node identity. Returning " + cachedNodeIdentity, ex);
}
}
}
Expand Down

0 comments on commit 0526fee

Please sign in to comment.