mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(backendsrv): remove invalid check
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user