Return error, if previous release PR was not found

This commit is contained in:
Hanno Braun 2022-09-06 10:56:15 +02:00
parent e328fc5e58
commit 74c0ccf05c

View File

@ -71,7 +71,7 @@ impl PullRequestsSinceLastRelease {
if pull_request_page.next.is_some() {
page += 1;
} else {
break;
return Err(anyhow!("Could not find previous release PR"));
}
}