-
Notifications
You must be signed in to change notification settings - Fork 38
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
Debugging logs or errors are not showing #1833
Comments
Hi @hoannguyen02 👋 Here's the documentation for how Functions handle/report errors: https://shopify.dev/docs/api/functions/errors#how-it-works Console logs/errors should be captured, but only if the Function fails while running. Successful runs will not capture the associated logs. |
hi @dnagoda Many thanks for the response. Could you show me example code? at the moment I made 2 type of errors but cannot click any of them to see details. |
@hoannguyen02 I'm going to dig a little deeper into this. Is this a development store that you're testing on? |
hi @dnagoda it is shopify plus store, not development store |
If this is a live shopify plus store, errors are not automatically made available in the Partner dashboard. You can read more about how merchants can share the error data here: https://shopify.dev/docs/api/functions/errors#sharing-error-reports |
Thank you @dnagoda |
Please list the package(s) involved in the issue, and include the version you are using
"@shopify/app": "3.57.0",
"@shopify/cli": "3.57.0"
"@shopify/shopify_function": "0.1.0",
Describe the bug
The log & error doesn't show
Steps to reproduce the behavior:
2.Modify
Expected behavior
Can see the log, error to validate business works
Screenshots
Additional context
Initial app without remix
The text was updated successfully, but these errors were encountered: