Skip to content
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

fix(wallet-mobile): adds log for token activity error #3619

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

jorbuedo
Copy link
Contributor

Description / Change(s) / Related issue(s)

Previous log (called directly by react-query when throwing)

{"message": undefined, "responseData": {"reasons": {"": [Array]}}, "status": 500}

With this change:

{"endpoint":"tokenActivity","status":500,"responseData":{"reasons":{"":["unexpected error"]}}}

@jorbuedo jorbuedo force-pushed the log-token-activity-error branch from 01e711d to 38de400 Compare September 11, 2024 15:07
@stackchain
Copy link
Member

it is returning 500, just a quick recall that by not throwing react-query will return isSuccess: true, isError: false, even when failing, with data: null, I think is ok for debugging, but it looks like the issue might be sitting in the request.

@stackchain stackchain merged commit 1835f27 into develop Sep 11, 2024
2 checks passed
@jorbuedo jorbuedo added this to the 5.0.0 "Day & Night" milestone Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants