fix(backendsrv): remove invalid check

This commit is contained in:
bergquist
2016-03-21 12:43:30 +01:00
parent 86a274a7ee
commit 90c6b04361

View File

@@ -106,7 +106,7 @@ function (angular, _, coreModule, config) {
}
//populate error obj on Internal Error
if (_.isString(err.data) && err.status === 500 && !err.data) {
if (_.isString(err.data) && err.status === 500) {
err.data = {
error: err.statusText
};