Skip to content

Commit

Permalink
#63 Fix field that contains error message
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Dec 30, 2016
1 parent 2af941a commit b5237d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/scripts/services/AlertSrv.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
} else if (angular.isString(data) && data !== '') {
log(moduleName + ': ' + data, 'error');
} else if (angular.isObject(data)) {
log(moduleName + ': ' + data.message, 'error');
log(moduleName + ': ' + (data.message || data.error), 'error');
}
}
};
Expand Down

0 comments on commit b5237d6

Please sign in to comment.