Improve logging

This commit is contained in:
2017-06-06 19:56:40 +02:00
parent eced2f423f
commit c893f91ce2
+1 -1
View File
@@ -45,7 +45,7 @@ export default Component.extend({
.then(() => {
this.attrs.onSave();
}).catch((error) => {
Ember.Logger.error('Error creating the proposal', error);
Ember.Logger.error('[add-proposal] error creating the proposal', error);
alert('Something went wrong.');
}).finally(() => {
this.set('inProgress', false);