Improve logging
This commit is contained in:
@@ -45,7 +45,7 @@ export default Component.extend({
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
this.attrs.onSave();
|
this.attrs.onSave();
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
Ember.Logger.error('Error creating the proposal', error);
|
Ember.Logger.error('[add-proposal] error creating the proposal', error);
|
||||||
alert('Something went wrong.');
|
alert('Something went wrong.');
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.set('inProgress', false);
|
this.set('inProgress', false);
|
||||||
|
|||||||
Reference in New Issue
Block a user