diff options
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> | 
