From 3e3729982bc78c0cf4489b1bec7d19ebe10beeab Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 13 Oct 2019 11:50:40 +0200 Subject: [PATCH] Add some debug info --- .../js/components/transactions/CustomTransactionFields.vue | 2 +- resources/assets/js/components/transactions/Tags.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/components/transactions/CustomTransactionFields.vue b/resources/assets/js/components/transactions/CustomTransactionFields.vue index ff5853c73a..c2bedbece0 100644 --- a/resources/assets/js/components/transactions/CustomTransactionFields.vue +++ b/resources/assets/js/components/transactions/CustomTransactionFields.vue @@ -109,7 +109,7 @@ const url = document.getElementsByTagName('base')[0].href + 'api/v1/preferences/transaction_journal_optional_fields'; axios.get(url).then(response => { this.fields = response.data.data.attributes.data; - }).catch(() => console.warn('Oh. Something went wrong')); + }).catch(() => console.warn('Oh. Something went wrong loading custom transaction fields.')); }, } } diff --git a/resources/assets/js/components/transactions/Tags.vue b/resources/assets/js/components/transactions/Tags.vue index bf08072bb0..7da2ef2bda 100644 --- a/resources/assets/js/components/transactions/Tags.vue +++ b/resources/assets/js/components/transactions/Tags.vue @@ -82,7 +82,7 @@ this.autocompleteItems = response.data.map(a => { return {text: a.tag}; }); - }).catch(() => console.warn('Oh. Something went wrong')); + }).catch(() => console.warn('Oh. Something went wrong loading tags.')); }, 600); }, },