aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.tsx
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-10-12 13:58:35 +0100
committerGravatar Joe Banks <[email protected]>2020-10-12 13:58:35 +0100
commitbb86d6120f8f1d80fd32ad25c2e705a72dc38bb4 (patch)
treea375282b852ee215047851f79edcbcdd9c3c101b /src/index.tsx
parentRemove comments (diff)
Fix tests
Diffstat (limited to 'src/index.tsx')
-rw-r--r--src/index.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/index.tsx b/src/index.tsx
index 22f18cd..fd6ec18 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -38,6 +38,10 @@ ReactDOM.render(
dialogOptions={{
title: "You've found a bug in PyDis forms!"
}}
+ onError={(err) => {
+ if(process.env.NODE_ENV === "development")
+ console.log(err)
+ }}
>
<App />
</Sentry.ErrorBoundary>