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

Cryptic error message when Celsius Server is down #46

Open
robertkowalski opened this issue Aug 7, 2020 · 0 comments
Open

Cryptic error message when Celsius Server is down #46

robertkowalski opened this issue Aug 7, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@robertkowalski
Copy link

Describe the bug
When the Celsius server is down, we receive the error The "signature" argument must be one of type string, Buffer, TypedArray, or DataView. Received type undefined -- because JSON parsing failed.

Stack Trace

The "signature" argument must be one of type string, Buffer, TypedArray, or DataView. Received type undefined

To Reproduce
Steps to reproduce the behavior:

  1. Your nginx shows an error html instead of JSON
  2. Connect with JS client SDK
  3. Get cryptic error

Expected behavior
An error message mentioning that the remote server is unavailable. Maybe a 500 type error.

Additional context
A good error message helps to find and debug errors a lot easier and increases therefore adoption of the software.

@robertkowalski robertkowalski added the bug Something isn't working label Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant