mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 22:36:57 +00:00
refactor: GUI error handling (#9528)
* refactor: error reporting Signed-off-by: Pranav C <pranavxc@gmail.com> * refactor: handle ee part Signed-off-by: Pranav C <pranavxc@gmail.com> * refactor: coderabbit review comments Signed-off-by: Pranav C <pranavxc@gmail.com> * refactor: linting Signed-off-by: Pranav C <pranavxc@gmail.com> * refactor: remove duplicate error log Signed-off-by: Pranav C <pranavxc@gmail.com> * refactor: request type correction Signed-off-by: Pranav C <pranavxc@gmail.com> --------- Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<script lang="ts">
|
||||
// modified version of default NuxtErrorBoundary component - https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/components/nuxt-error-boundary.ts
|
||||
import { message } from 'ant-design-vue'
|
||||
import * as Sentry from '@sentry/vue'
|
||||
|
||||
const MESSAGE_KEY = 'ErrorMessageKey'
|
||||
|
||||
@@ -54,7 +53,7 @@ export default {
|
||||
}, 30000)
|
||||
|
||||
try {
|
||||
Sentry.captureException(err)
|
||||
nuxtApp.$report(err)
|
||||
} catch {
|
||||
// ignore
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user