From 896230b7f993d61ee7c6b43fe386c048a6b1fca9 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Thu, 8 Oct 2020 23:32:02 +0100 Subject: Render the Sentry error boundary --- src/index.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/index.tsx b/src/index.tsx index 0198756..50385ea 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -31,7 +31,15 @@ console.log("%cCome join us on Discord! https://discord.gg/python", `font-size: ReactDOM.render( - + An error has occurred with Python Discord Forms. Please let us know in the Discord server at discord.gg/python

} + showDialog={true} + dialogOptions={{ + title: "You've found a bug in PyDis forms!" + }} + > + +
, document.getElementById('root') ); -- cgit v1.2.3