Commit 90c6b043 by bergquist

fix(backendsrv): remove invalid check

parent 86a274a7
......@@ -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
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment