Skip to content

Commit

Permalink
Fix up uncaught ajax error alert message
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyzerner committed Feb 12, 2015
1 parent ffef6af commit c336976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ember/app/adapters/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default JsonApiAdapter.extend({
if (errors instanceof JsonApiAdapter.ServerError) {
var message = AlertMessage.create({
type: 'warning',
message: errors.message
message: 'Something went wrong: '+errors.message.errors[0].code
});
this.get('alerts').send('alert', message);
return;
Expand Down

0 comments on commit c336976

Please sign in to comment.