Add sentry debug page
This commit is contained in:
23
packages/web/pages/_debug/sentry.tsx
Normal file
23
packages/web/pages/_debug/sentry.tsx
Normal file
@ -0,0 +1,23 @@
|
||||
import { Button } from '../../components/elements/Button'
|
||||
import {
|
||||
BorderedFormInput,
|
||||
FormLabel,
|
||||
} from '../../components/elements/FormElements'
|
||||
import { SpanBox, VStack } from '../../components/elements/LayoutPrimitives'
|
||||
import { StyledText } from '../../components/elements/StyledText'
|
||||
import { webBaseURL } from '../../lib/appConfig'
|
||||
|
||||
export default function DebugShareTarget(): JSX.Element {
|
||||
return (
|
||||
<Button
|
||||
type="submit"
|
||||
style="ctaDarkYellow"
|
||||
css={{ my: '$2' }}
|
||||
onClick={(event) => {
|
||||
throw new Error('test error for sentry')
|
||||
}}
|
||||
>
|
||||
Submit
|
||||
</Button>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user