Add some debug info

This commit is contained in:
James Cole 2019-10-13 11:50:40 +02:00
parent 49933dae17
commit 3e3729982b
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 2 additions and 2 deletions

View File

@ -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.'));
},
}
}

View File

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