Skip to content

Commit

Permalink
If saving or forking goes wrong, loud error
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav0 committed Oct 26, 2015
1 parent 4922256 commit 769ffed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/gist/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export default Ember.Route.extend({
return;
}
}
this.get('notify').error("Something went wrong. The gist was not forked.");
throw error;
},

Expand All @@ -99,6 +100,7 @@ export default Ember.Route.extend({
return;
}
}
this.get('notify').error("Something went wrong. The gist was not saved.");
throw error;
}
});

0 comments on commit 769ffed

Please sign in to comment.