Commit 2371dcf6 by Torkel Ödegaard

Merge pull request #3188 from mtanda/template_error_report

Fix templating error dialog for Prometheus
parents 5d8a51c3 65bc194c
......@@ -106,6 +106,11 @@ function (angular, _, config) {
});
}
// for Prometheus
if (!err.data.message && _.isString(err.data.error)) {
err.data.message = err.data.error;
}
throw err;
});
};
......
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