Skip to content

Commit

Permalink
fix(inbound-filter): Fix react hydration errors message condition (#4…
Browse files Browse the repository at this point in the history
  • Loading branch information
priscilawebdev authored Mar 3, 2023
1 parent 64a5231 commit f706a95
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/sentry/relay/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def get_filter_settings(project: Project) -> Mapping[str, Any]:
# 423 - There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering.
# 425 - Text content does not match server-rendered HTML.
error_messages += [
"https://reactjs.org/docs/error-decoder.html?invariant={418,419,422,423,425}"
"*https://reactjs.org/docs/error-decoder.html?invariant={418,419,422,423,425}*"
]

if error_messages:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
created: '2023-03-02T14:24:26.512612Z'
created: '2023-03-03T12:37:18.832972Z'
creator: sentry
source: tests/sentry/relay/test_config.py
---
Expand Down Expand Up @@ -84,7 +84,7 @@ config:
- promfflinkdev.com
errorMessages:
patterns:
- https://reactjs.org/docs/error-decoder.html?invariant={418,419,422,423,425}
- '*https://reactjs.org/docs/error-decoder.html?invariant={418,419,422,423,425}*'
legacyBrowsers:
isEnabled: false
localhost:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
created: '2023-03-02T14:24:26.635295Z'
created: '2023-03-03T12:37:18.951044Z'
creator: sentry
source: tests/sentry/relay/test_config.py
---
Expand Down Expand Up @@ -84,7 +84,7 @@ config:
- promfflinkdev.com
errorMessages:
patterns:
- https://reactjs.org/docs/error-decoder.html?invariant={418,419,422,423,425}
- '*https://reactjs.org/docs/error-decoder.html?invariant={418,419,422,423,425}*'
legacyBrowsers:
isEnabled: false
localhost:
Expand Down

0 comments on commit f706a95

Please sign in to comment.