From 84e9961f4befbf99fc88de31119f69fc5ba26c35 Mon Sep 17 00:00:00 2001 From: Sense T Date: Tue, 9 Apr 2024 08:30:32 +0800 Subject: [PATCH] error log --- web/src/components/domains/DomainEditModal.vue | 1 + web/src/components/domains/DomainRemoveModal.vue | 1 + web/src/views/DomainsView.vue | 1 + web/src/views/RecordsView.vue | 1 + 4 files changed, 4 insertions(+) diff --git a/web/src/components/domains/DomainEditModal.vue b/web/src/components/domains/DomainEditModal.vue index a3a29d7..54d0c01 100644 --- a/web/src/components/domains/DomainEditModal.vue +++ b/web/src/components/domains/DomainEditModal.vue @@ -191,6 +191,7 @@ async function confirm() { } catch (e) { const msg = getErrorInfo(e) notification.error(msg) + console.error(e) } loading.value = false } diff --git a/web/src/components/domains/DomainRemoveModal.vue b/web/src/components/domains/DomainRemoveModal.vue index 03d329e..e22b3c5 100644 --- a/web/src/components/domains/DomainRemoveModal.vue +++ b/web/src/components/domains/DomainRemoveModal.vue @@ -72,6 +72,7 @@ async function confirm() { } catch (e) { const msg = getErrorInfo(e) notification.error(msg) + console.error(e) } } loading.value = false; diff --git a/web/src/views/DomainsView.vue b/web/src/views/DomainsView.vue index ac40dce..9a1b76f 100644 --- a/web/src/views/DomainsView.vue +++ b/web/src/views/DomainsView.vue @@ -24,6 +24,7 @@ onMounted(() => { } catch (error) { const msg = getErrorInfo(error) notification.error(msg) + console.error(error) } }) diff --git a/web/src/views/RecordsView.vue b/web/src/views/RecordsView.vue index f9561fa..785a638 100644 --- a/web/src/views/RecordsView.vue +++ b/web/src/views/RecordsView.vue @@ -66,6 +66,7 @@ onMounted(() => { } catch (err) { const msg = getErrorInfo(err) notification.error(msg) + console.error(err) } })