Backend error cant catch up in http call Angular
- Dominant language
- Rust
- Stars
- 20.8k
- Forks
- 2.1k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 181
Description
**Describe the bug**
Dears, I'm using frontend as Angular. I integrated backend with Node Js, it's working perfectly. But sometimes if backend service is throwing any error means, can't catch up in UI,
I'm using `@cubejs-client/ngx` package and for Http call, I'm using a watch with subscribe. In cube js documentation they prefer use catch block, it's not working
I pasted my piece of code for your reference
**To Reproduce**
Steps to reproduce the behavior:
To reproduce the same error, In filters number type dimension just pass a string.
It will return something like this `Error: Error: invalid input syntax for type numeric:` from the backend. You cant get a response in frontend
**Expected behavior**
If suppose any error is thrown from the backend, it should be catch up in error block.
**Version:**
"@cubejs-client/core": "^0.19.43"
"@cubejs-client/ngx": "^0.19.43"
Contributor guide
Assessment
This issue has not been assessed yet.