diff options
| author | 2020-10-12 13:58:35 +0100 | |
|---|---|---|
| committer | 2020-10-12 13:58:35 +0100 | |
| commit | bb86d6120f8f1d80fd32ad25c2e705a72dc38bb4 (patch) | |
| tree | a375282b852ee215047851f79edcbcdd9c3c101b /src/index.tsx | |
| parent | Remove comments (diff) | |
Fix tests
Diffstat (limited to 'src/index.tsx')
| -rw-r--r-- | src/index.tsx | 4 | 
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> | 
