Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions frontend/src/modules/layout/layout-routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,4 @@ export default [
'Sorry, the page you are looking for doesn’t exist or was removed.',
},
},
{
name: 'error500',
path: '/500',
component: ErrorPage,
props: {
code: 500,
title: 'Oops, something went wrong',
subtitle:
'Please try to reload the page. If the problem remains, reach out to us.',
},
},
];
5 changes: 4 additions & 1 deletion frontend/src/shared/error/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ export default class Errors {
return;
}

router.push('/500');
Message.error(
'Please try again. If the problem remains, reach out to us.',
{ title: 'Oops, something went wrong' },
);
}

static errorCode(error) {
Expand Down