Skip to content

Commit

Permalink
fix: handle app update error
Browse files Browse the repository at this point in the history
  • Loading branch information
johackim committed Oct 3, 2023
1 parent 9639c69 commit 573aaf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ export default (app) => {
} else {
notification.add({ title: t('Error'), text: t(message), type: 'error', timeout: 30 });
}
}).catch((e) => {
notification.add({ title: t('Error'), text: t(e.message), type: 'error' });
}).finally(() => {
setLoading(false);
});
Expand Down

0 comments on commit 573aaf6

Please sign in to comment.