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

fix: revert irrelevant changes of "wrong ICM is used with errors on SSR" #1533

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

shauke
Copy link
Collaborator

@shauke shauke commented Nov 17, 2023

improvent of #1519

  • reverted: icmBaseURL no longer uses environment.ts fallback in production mode
  • reverted: make usage of default/fallback configuration in environment.ts configurable for getting state properties
  • refactored: errors should only contain properties of defined HttpError interface - this is now handled at the error interceptor
  • kept: do not log an error that can't be stringified, it floods the log with irrelevant information

BREAKING CHANGES: No longer a breaking change regarding "No longer falls back to environment.ts configured icmBaseURL in production mode."

PR Type

[x] Bugfix

What Is the New Behavior?

The error object properties in the error.reducer.ts icm-error-mapper.interceptor.ts are reduced to the defined set of the predefined HttpError interface.

Unnecessary changes of #1519 are reverted.

Does this PR Introduce a Breaking Change?

[x] No

Other Information

AB#91270

…ICM throws errors on SSR (#1519)"

* reverted: icmBaseURL no longer uses environment.ts fallback in production mode
* reverted: make usage of default/fallback configuration in environment.ts configurable for getting state properties
* refactored: errors should only contain properties of defined HttpError interface - this is now handled at the error interceptor
* kept: do not log an error that can't be stringified, it floods the log with irrelevant information

BREAKING CHANGES: No longer a breaking change regarding "No longer falls back to `environment.ts` configured `icmBaseURL` in production mode."
@shauke shauke requested a review from dhhyi November 17, 2023 11:47
@shauke shauke self-assigned this Nov 17, 2023
@shauke shauke added this to the 5.0 milestone Nov 17, 2023
@shauke shauke merged commit a48c7ae into develop Nov 20, 2023
24 checks passed
@shauke shauke deleted the bugfix/improved_error_handling branch November 20, 2023 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants