From 90c6b04361edf9f08adb3ed955f48dca767b94ae Mon Sep 17 00:00:00 2001 From: bergquist Date: Mon, 21 Mar 2016 12:43:30 +0100 Subject: [PATCH] fix(backendsrv): remove invalid check --- public/app/core/services/backend_srv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/services/backend_srv.js b/public/app/core/services/backend_srv.js index c5638af167e..ff3784ab45e 100644 --- a/public/app/core/services/backend_srv.js +++ b/public/app/core/services/backend_srv.js @@ -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 };