Skip to content

Commit 646f6d6

Browse files
committed
Generating error
1 parent f7074fa commit 646f6d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dashboard/Dashboard.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ class Dashboard extends React.Component {
201201
resolvedApps.forEach(app => {
202202
AppsManager.addApp(app);
203203
});
204+
} else {
205+
throw new Error('There is no apps');
204206
}
205207
this.setState({ configLoadingState: AsyncStatus.SUCCESS });
206208
}.bind(this)).fail(({ error }) => {

0 commit comments

Comments
 (0)