File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,6 @@ const tracingOrigins = [
5252
5353const history = createBrowserHistory ( ) ;
5454
55- const PREFERRED_BACKENDS = [ 'flask' , 'laravel' , 'flask-otlp' ] ;
56-
5755let BACKEND_URL ;
5856let BACKEND_TYPE ;
5957let FRONTEND_SLOWDOWN ;
@@ -143,11 +141,13 @@ Sentry.init({
143141 // SE Testing
144142 event . fingerprint = [ '{{ default }}' , seFingerprint ] ;
145143 }
144+ } else {
145+ event . fingerprint = [ '{{ default }}' ] ;
146146 }
147147
148- if ( ( PREFERRED_BACKENDS . includes ( BACKEND_TYPE ) ) && is5xxError && ( se && se . startsWith ( 'prod-tda-' ) ) ) {
149- // Seer when run automatically will use the latest event. We want it to run on event with flask backend instead of taking chances .
150- event . fingerprint . push ( 'tda-flagship-react-preferred-backends' ) ;
148+ if ( is5xxError ) {
149+ // don't group different backends into the same issue to avoid mismatch between Seer autofix and latest event .
150+ event . fingerprint . push ( BACKEND_TYPE ) ;
151151 }
152152
153153 if ( event . exception ) {
You can’t perform that action at this time.
0 commit comments