Skip to content

Commit e0a5e43

Browse files
committed
fix Streams error printing
1 parent 11404b8 commit e0a5e43

File tree

1 file changed

+2
-2
lines changed
  • source/views/streaming/streams

1 file changed

+2
-2
lines changed

source/views/streaming/streams/list.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class StreamListView extends React.PureComponent {
3737
}
3838

3939
state: {
40-
error: ?Error,
40+
error: ?string,
4141
loading: boolean,
4242
refreshing: boolean,
4343
streams: Array<{title: string, data: Array<StreamType>}>,
@@ -124,7 +124,7 @@ export class StreamListView extends React.PureComponent {
124124
}
125125

126126
if (this.state.error) {
127-
return <NoticeView text={'Error: ' + this.state.error.message} />
127+
return <NoticeView text={'Error: ' + this.state.error} />
128128
}
129129

130130
return (

0 commit comments

Comments
 (0)