-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CircleCI] Extended existing try-catch block #1614
Conversation
I believe the CI failure is unrelated to this PR. |
May be worth adding the |
By the way, to re-run a test in CI, log in to Circle using your Github account. Look for the Workflow on-commit link and click it. From the dropdown, choose Rerun failed jobs. |
@RedSparr0w I've added the @paulmelnikow thanks for the tip! |
services/circleci/circleci.tester.js
Outdated
@@ -25,7 +25,7 @@ t.create('circle ci (valid, with branch)') | |||
|
|||
t.create('circle ci (not found)') | |||
.get('/project/github/PyvesB/EmptyRepo.json') | |||
.expectJSON({name: 'build', value: 'Project not found'}); | |||
.expectJSON({name: 'build', value: 'not found'}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the explicit message. You can pass a custom "not found" message to checkErrorResponse
to preserve the old behavior.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted. I've nevertheless switched to a lower case P
to be more consistent with what we use elsewhere.
Actually think i was partially wrong about the status code being the problem with it, Think it may have to do with |
This pull request should resolve issue #1608.