Skip to content

Commit 60989fa

Browse files
committed
Add TEST_DOWNTIME
1 parent 4aeda8a commit 60989fa

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

web/pages/home.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ import {PageBase} from 'web/components/page-base'
22
import {Col} from 'web/components/layout/col'
33
import {LoggedOutHome} from "web/components/home/home";
44

5+
export const TEST_DOWNTIME = true
56

6-
export default function ProfilesPage() {
7+
export default function Home() {
8+
if (TEST_DOWNTIME) {
9+
throw new Error('500 - This is a test error')
10+
}
711
return (
812
<PageBase trackPageView={'home'}>
913
<Col className="items-center">

0 commit comments

Comments
 (0)