-
Notifications
You must be signed in to change notification settings - Fork 25
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
[JS] error handling in @eclipse-ditto/ditto-javascript-client-dom #169
Labels
Comments
Moved to #169 |
reopened... sorry for confusion |
thlandgraf
changed the title
error handling in @eclipse-ditto/ditto-javascript-client-dom
[JS] error handling in @eclipse-ditto/ditto-javascript-client-dom
Jul 13, 2021
Hi @thlandgraf and thanks for reporting. We'll look into it .. |
thjaeckle
added
javascript
bug
Something isn't working
good first issue
Good for newcomers
labels
Jul 14, 2021
thjaeckle
added a commit
to bosch-io/ditto-clients
that referenced
this issue
Sep 7, 2022
…n in order to access status code together with body * fixed that only JSON was assumed as body - fall back to any value if error response was not JSON * updated dependencies to its minor version updates * update to upcoming Ditto JS client version 3.0.0 Signed-off-by: Thomas Jaeckle <[email protected]>
thjaeckle
added a commit
that referenced
this issue
Sep 8, 2022
[#169] Improve JS client error responses
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
when I open a ditto-connection with a wrong PW:
and call the count method:
... HTTP returns properly 401 - since I want to distinguish between HTTP errorcodes, I need to interpret the errorcode. But e is returned as undefined.
What do I miss?
The text was updated successfully, but these errors were encountered: