diff --git a/web/static/js/graph.js b/web/static/js/graph.js index e91295d229..a64a13dd6a 100644 --- a/web/static/js/graph.js +++ b/web/static/js/graph.js @@ -534,6 +534,9 @@ Prometheus.Graph.prototype.handleConsoleResponse = function(data, textStatus) { case "scalar": tBody.append("scalar" + data.Value + ""); break; + case "error": + alert(data.Value); + break; default: alert("Unsupported value type!"); break;