# Crash reporting for frontend exceptions, possible to integrate with sentry.io?

**URL:** https://community.baserow.io/t/crash-reporting-for-frontend-exceptions-possible-to-integrate-with-sentry-io/2646
**Category:** Technical Help
**Tags:** customization
**Created:** [April 19, 2023, 1:37am UTC](https://community.baserow.io/t/crash-reporting-for-frontend-exceptions-possible-to-integrate-with-sentry-io/2646 "2023-04-19T01:37:13Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lucw](https://community.baserow.io/user_avatar/community.baserow.io/lucw/32/609_2.png) [@lucw](https://community.baserow.io/u/lucw)
#### Post date: [April 19, 2023, 1:37am UTC](https://community.baserow.io/t/crash-reporting-for-frontend-exceptions-possible-to-integrate-with-sentry-io/2646/1 "2023-04-19T01:37:13Z")

</div>

I would like to use [sentry.io](http://sentry.io) for crash reporting on my baserow plugin. I’ve gotten this to work successfully by maintaining a set of patches that my plugin applies onto baserow when installing: [Comparing baserow-1.15.2...baserow-vocabai-patch-1.15.2 · Language-Tools/baserow-vocabai-patches · GitHub](https://github.com/Language-Tools/baserow-vocabai-patches/compare/baserow-1.15.2...baserow-vocabai-patch-1.15.2)

It works well for backend, does crash reporting the way I expect.

However for the frontend, crashes don’t get reported. I suspect this could be due to the built in exception handler in the baserow frontend. Has anyone attempted to integrate [sentry.io](http://sentry.io) on the frontend ?

I don’t mind digging into this and reporting back, I wanted to socialize in case other people are also interested.

---

<div class="post-metadata">

### Author: ![bram](https://community.baserow.io/letter_avatar_proxy/v4/letter/b/9d8465/32.png) [@bram](https://community.baserow.io/u/bram)
#### Post date: [April 20, 2023, 8:43am UTC](https://community.baserow.io/t/crash-reporting-for-frontend-exceptions-possible-to-integrate-with-sentry-io/2646/2 "2023-04-20T08:43:30Z")

</div>

Hi @lucw, we’re actually using Sentry on [baserow.io](http://baserow.io) in the backend and the web-frontend. What we did was adding the `@nuxtjs/sentry` package to our package.json. The next step is just adding the following config to your web-frontend nuxt config:

```auto
export default {
  sentry: {
    dsn: 'YOUR_DSN',
    clientIntegrations: {
      Dedupe: {},
      ExtraErrorData: {},
      RewriteFrames: {},
      ReportingObserver: null,
      Vue: {
        attachProps: true,
        logErrors: true,
      },
    },
  },
}

```

---

<div class="post-metadata">

### Author: ![lucw](https://community.baserow.io/user_avatar/community.baserow.io/lucw/32/609_2.png) [@lucw](https://community.baserow.io/u/lucw)
#### Post date: [April 20, 2023, 11:03pm UTC](https://community.baserow.io/t/crash-reporting-for-frontend-exceptions-possible-to-integrate-with-sentry-io/2646/3 "2023-04-20T23:03:16Z")

</div>

OK I ended up doing something very similar. But it seems to me the exceptions caught by this exception handler are not propagated to sentry, unless i’m misunderstanding something.

 ![2023-04-21 07_01_33-Cannot read properties of undefined (reading 'test2') __ Baserow](https://community.baserow.io/uploads/default/original/2X/1/14894138a82ae8764cf6935018137006ae1a5662.png)

---

<div class="post-metadata">

### Author: ![bram](https://community.baserow.io/letter_avatar_proxy/v4/letter/b/9d8465/32.png) [@bram](https://community.baserow.io/u/bram)
#### Post date: [April 21, 2023, 10:55am UTC](https://community.baserow.io/t/crash-reporting-for-frontend-exceptions-possible-to-integrate-with-sentry-io/2646/4 "2023-04-21T10:55:44Z")

</div>

That is strange. Can you see the Sentry requests being made in the output console when an error occurs? Sometimes, an ad blocker can block requests to Sentry as well. Do you have one running?

---

<div class="post-metadata">

### Author: ![lucw](https://community.baserow.io/user_avatar/community.baserow.io/lucw/32/609_2.png) [@lucw](https://community.baserow.io/u/lucw)
#### Post date: [April 21, 2023, 1:27pm UTC](https://community.baserow.io/t/crash-reporting-for-frontend-exceptions-possible-to-integrate-with-sentry-io/2646/5 "2023-04-21T13:27:20Z")

</div>

Good call, uBlock on chrome was blocking uploads to sentry. After whitelisting, I see the crash reports. Thank !
