Skip to content

Commit abbd8e2

Browse files
committed
throw exception
1 parent 475c25b commit abbd8e2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/VCS/Adapter/Git/GitHub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function searchRepositories(string $owner, int $page, int $per_page, stri
117117
]);
118118

119119
if (!isset($response['body']['repositories'])) {
120-
break;
120+
throw new Exception("Repositories list missing in the response.");
121121
}
122122

123123
// Filter repositories to only include those that match the search query.

0 commit comments

Comments
 (0)