aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--js/RrdGraph.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/RrdGraph.js b/js/RrdGraph.js
index 8794888..40d70da 100644
--- a/js/RrdGraph.js
+++ b/js/RrdGraph.js
@@ -1367,10 +1367,8 @@ RrdGraph.prototype.data_fetch_async_callback = function (args, ft_step)
1367 } 1367 }
1368 } 1368 }
1369 1369
1370 if (that.gdes[i].ds === -1) { 1370 if (that.gdes[i].ds === -1)
1371 alert("No DS called '"+that.gdes[i].ds_nam+"' in '"+that.gdes[i].rrd+"'"); 1371 throw new RrdGraphError("No DS called '"+that.gdes[i].ds_nam+"' in '"+that.gdes[i].rrd+"'");
1372 return;
1373 }
1374 } 1372 }
1375 that.graph_paint_draw(); 1373 that.graph_paint_draw();
1376}; 1374};