Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Update ABI Handler to handle endpoints with no response #8052

Closed
Tracked by #7210
bobanm opened this issue Jan 19, 2023 · 0 comments · Fixed by #8040
Closed
Tracked by #7210

Update ABI Handler to handle endpoints with no response #8052

bobanm opened this issue Jan 19, 2023 · 0 comments · Fixed by #8040

Comments

@bobanm
Copy link
Contributor

bobanm commented Jan 19, 2023

ABI Handler currently throws an error when endpoint does not return any response, because JSON.stringify() can't stringify undefined variable.

This causes problem for setHashOnion endpoint. It is currently the only endpoint which doesn't return a response, but in the future we might have more of such endpoints. It would be good to make ABI Handler future-proof.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants