Skip to content

Commit

Permalink
Fix eating of exceptions
Browse files Browse the repository at this point in the history
Bug was introduced in jenkinsci#839, as discussed here jenkinsci#839 (review)
  • Loading branch information
thomas-boehm-tractive committed May 23, 2024
1 parent 44cf5e4 commit 94abc8c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,10 @@ public BitbucketCommit resolveCommit(@NonNull String hash) throws IOException, I
} else {
return request.call();
}
} catch (Exception ex) {
} catch (IOException | InterruptedException ex) {
throw ex;
}
catch (Exception ex) {
return null;
}
}
Expand Down

0 comments on commit 94abc8c

Please sign in to comment.