Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-31055] Finessing the exception handling
  • Loading branch information
stephenc committed Oct 21, 2015
1 parent e4b1aab commit 8645978
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/main/java/jenkins/model/Nodes.java
Expand Up @@ -183,6 +183,9 @@ public Boolean call() throws Exception {
return false;
}
});
} catch (RuntimeException e) {
// should never happen, but if it does let's do the right thing
throw e;
} catch (Exception e) {
// can never happen
exists = false;
Expand Down

0 comments on commit 8645978

Please sign in to comment.