-
Notifications
You must be signed in to change notification settings - Fork 45
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
POST /percy/snapshot
API - Error during asset discovery not reported
#1649
Comments
Possibly seeing a similar issue:
|
This issue is stale because it has been open for more than 14 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
No, still having issues |
This is still an issue |
The |
@ninadbstack thanks, yes, I want to wait for asset discovery. the |
@jonleighton Got it! Apologies for the delay, but if you need this feature please raise a support ticket with Browserstack for the same. As building it will take some time it will need to be prioritized on product roadmap. |
Gotcha thanks for the context @ninadbstack. This feels like a bug. If issues aren't the best place to go for problems, can you put info on the Repo for best practices on reporting bugs? Thanks so much for reviewing the posts and maintaining this. |
The problem
We are uploading snapshots via a manual
POST /percy/snapshot
API request, within apercy exec
invocation.Sometimes, there is an error during asset discovery, and we see the following log lines:
However, the
POST /percy/snapshot
request returns a200 OK
response, with{"success": true}
in the body. Therefore our build succeeds, even though the snapshot failed, and there is no way for us to detect the problem.I would expect a
500 Internal Server Error
response in this situation, and possibly some details in the response body.Environment
@percy/cli
version: 1.28.8The text was updated successfully, but these errors were encountered: