Skip to content

Commit 8f4304f

Browse files
lexmingboegel
andauthored
use FAIL_GITHUB exit code for failure to fetch files of easyconfig PR
Co-authored-by: Kenneth Hoste <[email protected]>
1 parent b5d5bc8 commit 8f4304f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/tools/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def fetch_files_from_pr(pr, path=None, github_user=None, github_account=None, gi
504504
else:
505505
raise EasyBuildError(
506506
"Failed to isolate path for PR #%s from list of PR paths: %s", pr, extra_ec_paths,
507-
exit_code=EasyBuildExit.OPTION_ERROR
507+
exit_code=EasyBuildExit.FAIL_GITHUB
508508
)
509509

510510
elif github_repo == GITHUB_EASYBLOCKS_REPO:

0 commit comments

Comments
 (0)