Skip to content

Firefly III: a personal finances manager

Add some debug info

James Cole3e3729982bc7
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);
},
},