Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(notifications): Fix notifications url request failure handling (b…
…ackport #310) (#311) * fix(notifications): Fix notifications url request failure handling (#310) * Replace concatMap using in response JSON parsing with a switchMap * Revert back to concatMap and throw an error containing the response status code and text * Clean-up syntax * fixup! Clean-up syntax * Log err.message instead of just the err object * Fix code changed during rebase * Include response body for more detailed error info * Clean up imports * Make error logging more specific (cherry picked from commit 9e86184) # Conflicts: # src/app/Shared/Services/NotificationChannel.service.tsx * fix(notifications): Fix notifications url request failure handling (#310) * Replace concatMap using in response JSON parsing with a switchMap * Revert back to concatMap and throw an error containing the response status code and text * Clean-up syntax * fixup! Clean-up syntax * Log err.message instead of just the err object * Fix code changed during rebase * Include response body for more detailed error info * Clean up imports * Make error logging more specific * Remove unused imports Co-authored-by: Hareet Dhillon <hdhillon@redhat.com>
- Loading branch information