-
Notifications
You must be signed in to change notification settings - Fork 3
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
Accessing PDP of a non-existent, inactive or archived product responds with 500 instead of 404. #2261
Comments
@alexanderfc, if you ask the Phoenix there directly, it does respond with 404 (log below). So, I’d initially guess the issue is in @bagratinho, do you want to check that? Or whom should we ask?
|
It would be beneficial if someone looked at that while we still have a repro. :P After Stage is redeployed, and reseeded, and Alexander runs QA tests, it might no longer be so. |
@michalrus, @alexanderfc I'll check this |
Awesome. :) |
it's storefront's server response |
I see that in server/app.js error are handled with koa-onerror lib.
have no idea what could be done here, to fix this behavior, no experience with node server |
@bagratinho I could take this task after I'll finish my current one |
Same issue exists for PURE, will drop a fix tomorrow |
If anybody's curious as to why it was 500, here's the PR |
Env:
stage
Steps:
https://stage.foxcommerce.com/perfect-gourmet/products/product-6969803
Actual result: 500
Expected result: 404
Screenshot:
The text was updated successfully, but these errors were encountered: