summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/status_graph.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/status_graph.php b/usr/local/www/status_graph.php
index 3c3a639..0daf8a6 100755
--- a/usr/local/www/status_graph.php
+++ b/usr/local/www/status_graph.php
@@ -120,12 +120,14 @@ function bandwidthAjax(hostinterface, sorting) {
// Use GET
type: 'get',
error: function(req) {
- // Handle 404
+ /* XXX: Leave this for debugging purposes: Handle 404
if(req.status == 404)
alert('Error 404: location "' + uri + '" was not found.');
- // Handle other errors
+ */
+ /* Handle other errors
else
alert('Error ' + req.status + ' -- ' + req.statusText + ' -- ' + uri);
+ */
},
success: function(data) {
updateBandwidthHosts(data);
OpenPOWER on IntegriCloud