Skip to content

Commit affbc38

Browse files
committedMar 19, 2021
Turn an exception into a log message to allow further issues to be processed
Reviewed-by: ehelin
1 parent c3df880 commit affbc38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎bots/notify/src/main/java/org/openjdk/skara/bots/notify/issue/IssueNotifier.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,8 @@ public void onNewOpenJDKTagCommits(HostedRepository repository, Repository local
336336
var fixVersion = JdkVersion.parse(requestedVersion).orElseThrow();
337337
var existing = Backports.findIssue(issue, fixVersion);
338338
if (existing.isEmpty()) {
339-
throw new RuntimeException("Cannot find a properly resolved issue for: " + issue.id());
339+
log.severe("Cannot find a properly resolved issue for: " + issue.id() + " - will not update resolved in build");
340+
return;
340341
} else {
341342
issue = existing.get();
342343
}

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Mar 19, 2021

@openjdk-notifier[bot]
Please sign in to comment.