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

Handle unparsable but valid response #27

Closed
Ephigenia opened this issue Sep 27, 2020 · 0 comments
Closed

Handle unparsable but valid response #27

Ephigenia opened this issue Sep 27, 2020 · 0 comments
Assignees

Comments

@Ephigenia
Copy link
Owner

In some cases (at least one, indicated in #26) the IKEA iows API replies with a different JSON format than expected. In that case an exception is thrown while there are other stores valid. There should be a special soft-handling of unparsable json response formats which results in a similar output like a 404 (cli-stock.js:122) so that it’s possible to find out which store raises the error.

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

No branches or pull requests

1 participant