Skip to content

Commit

Permalink
A missing try/catch when starting a connection
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacchella committed Jan 11, 2012
1 parent 31a5a66 commit 5a64b55
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/jrds/starter/StarterNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ public boolean startCollect() {
//If collect is stopped while we're starting, drop it
if(parent !=null && ! parent.isCollectRunning())
return false;
s.doStart();
try {
s.doStart();
} catch (Exception e) {
log(Level.ERROR, e, "starting %s failed: %s", s, e);
}
}
}
started = true;
Expand Down

0 comments on commit 5a64b55

Please sign in to comment.