File tree Expand file tree Collapse file tree 3 files changed +31
-21
lines changed
src/sentry/static/sentry/app/components Expand file tree Collapse file tree 3 files changed +31
-21
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import Truncate from 'app/components/truncate';
17
17
import OpenInContextLine from 'app/components/events/interfaces/openInContextLine' ;
18
18
import SentryAppComponentsStore from 'app/stores/sentryAppComponentsStore' ;
19
19
import space from 'app/styles/space' ;
20
+ import ErrorBoundary from 'app/components/errorBoundary' ;
20
21
21
22
export function trimPackage ( pkg ) {
22
23
const pieces = pkg . split ( / ^ ( [ a - z ] : \\ | \\ \\ ) / i. test ( pkg ) ? '\\' : '/' ) ;
@@ -312,12 +313,14 @@ const Frame = createReactClass({
312
313
className = { className }
313
314
>
314
315
{ hasComponents && (
315
- < OpenInContextLine
316
- key = { index }
317
- lineNo = { line [ 0 ] }
318
- filename = { data . filename }
319
- components = { components }
320
- />
316
+ < ErrorBoundary mini >
317
+ < OpenInContextLine
318
+ key = { index }
319
+ lineNo = { line [ 0 ] }
320
+ filename = { data . filename }
321
+ components = { components }
322
+ />
323
+ </ ErrorBoundary >
321
324
) }
322
325
</ ContextLine >
323
326
) ;
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import {t} from 'app/locale';
15
15
import SentryAppInstallationStore from 'app/stores/sentryAppInstallationsStore' ;
16
16
import SentryAppComponentsStore from 'app/stores/sentryAppComponentsStore' ;
17
17
import ExternalIssueStore from 'app/stores/externalIssueStore' ;
18
+ import ErrorBoundary from 'app/components/errorBoundary' ;
18
19
19
20
class ExternalIssueList extends AsyncComponent {
20
21
static propTypes = {
@@ -130,14 +131,16 @@ class ExternalIssueList extends AsyncComponent {
130
131
const issue = ( externalIssues || [ ] ) . find ( i => i . serviceType == sentryApp . slug ) ;
131
132
132
133
return (
133
- < SentryAppExternalIssueActions
134
- key = { sentryApp . slug }
135
- group = { group }
136
- event = { this . props . event }
137
- sentryAppComponent = { component }
138
- sentryAppInstallation = { installation }
139
- externalIssue = { issue }
140
- />
134
+ < ErrorBoundary key = { sentryApp . slug } mini >
135
+ < SentryAppExternalIssueActions
136
+ key = { sentryApp . slug }
137
+ group = { group }
138
+ event = { this . props . event }
139
+ sentryAppComponent = { component }
140
+ sentryAppInstallation = { installation }
141
+ externalIssue = { issue }
142
+ />
143
+ </ ErrorBoundary >
141
144
) ;
142
145
} ) ;
143
146
}
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import React from 'react';
3
3
import { isEqual , pickBy , keyBy , isObject } from 'lodash' ;
4
4
import createReactClass from 'create-react-class' ;
5
5
6
+ import ErrorBoundary from 'app/components/errorBoundary' ;
6
7
import SentryTypes from 'app/sentryTypes' ;
7
8
import withApi from 'app/utils/withApi' ;
8
9
import SuggestedOwners from 'app/components/group/suggestedOwners' ;
@@ -246,13 +247,16 @@ const GroupSidebar = createReactClass({
246
247
project = { project }
247
248
allEnvironments = { this . state . allEnvironmentsGroupData }
248
249
/>
249
- < ExternalIssueList
250
- event = { this . props . event }
251
- group = { this . props . group }
252
- project = { project }
253
- orgId = { organization . slug }
254
- sentryAppInstallations = { sentryAppInstallations }
255
- />
250
+
251
+ < ErrorBoundary mini >
252
+ < ExternalIssueList
253
+ event = { this . props . event }
254
+ group = { this . props . group }
255
+ project = { project }
256
+ orgId = { organization . slug }
257
+ sentryAppInstallations = { sentryAppInstallations }
258
+ />
259
+ </ ErrorBoundary >
256
260
257
261
{ this . renderPluginIssue ( ) }
258
262
You can’t perform that action at this time.
0 commit comments