summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/examples/rrdContent.html2
-rw-r--r--src/examples/rrdHeaderInfo.html2
-rw-r--r--src/examples/rrdJFlot.html2
-rw-r--r--src/examples/rrdJFlotDefaults.html2
-rw-r--r--src/examples/rrdJFlotFilter.html2
-rw-r--r--src/examples/rrdJFlotFilterRRA.html2
-rw-r--r--src/examples/rrdJFlotTwo.html4
-rw-r--r--src/examples/rrdMatrixFlot.html2
8 files changed, 9 insertions, 9 deletions
diff --git a/src/examples/rrdContent.html b/src/examples/rrdContent.html
index 4e2ad50..9b87412 100644
--- a/src/examples/rrdContent.html
+++ b/src/examples/rrdContent.html
@@ -164,7 +164,7 @@
try {
var i_rrd_data=new RRDFile(bf);
} catch(err) {
- alert("File "+fname+" is not a valid RRD archive!");
+ alert("File "+fname+" is not a valid RRD archive!\n"+err);
}
if (i_rrd_data!=undefined) {
rrd_data=i_rrd_data;
diff --git a/src/examples/rrdHeaderInfo.html b/src/examples/rrdHeaderInfo.html
index 6d8ed54..3a772d7 100644
--- a/src/examples/rrdHeaderInfo.html
+++ b/src/examples/rrdHeaderInfo.html
@@ -105,7 +105,7 @@
try {
var rrd_data=new RRDFile(bf);
} catch(err) {
- alert("File "+fname+" is not a valid RRD archive!");
+ alert("File "+fname+" is not a valid RRD archive!\n"+err);
}
if (rrd_data!=undefined) {
update_info(fname,rrd_data)
diff --git a/src/examples/rrdJFlot.html b/src/examples/rrdJFlot.html
index 9d5707c..a8e0544 100644
--- a/src/examples/rrdJFlot.html
+++ b/src/examples/rrdJFlot.html
@@ -89,7 +89,7 @@
try {
var i_rrd_data=new RRDFile(bf);
} catch(err) {
- alert("File "+fname+" is not a valid RRD archive!");
+ alert("File "+fname+" is not a valid RRD archive!\n"+err);
}
if (i_rrd_data!=undefined) {
rrd_data=i_rrd_data;
diff --git a/src/examples/rrdJFlotDefaults.html b/src/examples/rrdJFlotDefaults.html
index 89b7b47..092562f 100644
--- a/src/examples/rrdJFlotDefaults.html
+++ b/src/examples/rrdJFlotDefaults.html
@@ -97,7 +97,7 @@
try {
var i_rrd_data=new RRDFile(bf);
} catch(err) {
- alert("File "+fname+" is not a valid RRD archive!");
+ alert("File "+fname+" is not a valid RRD archive!\n"+err);
}
if (i_rrd_data!=undefined) {
rrd_data=i_rrd_data;
diff --git a/src/examples/rrdJFlotFilter.html b/src/examples/rrdJFlotFilter.html
index 7a3c375..17fc676 100644
--- a/src/examples/rrdJFlotFilter.html
+++ b/src/examples/rrdJFlotFilter.html
@@ -129,7 +129,7 @@
try {
var i_rrd_data=new RRDFile(bf);
} catch(err) {
- alert("File "+fname+" is not a valid RRD archive!");
+ alert("File "+fname+" is not a valid RRD archive!\n"+err);
}
if (i_rrd_data!=undefined) {
diff --git a/src/examples/rrdJFlotFilterRRA.html b/src/examples/rrdJFlotFilterRRA.html
index 4653184..7608c38 100644
--- a/src/examples/rrdJFlotFilterRRA.html
+++ b/src/examples/rrdJFlotFilterRRA.html
@@ -123,7 +123,7 @@
try {
var i_rrd_data=new RRDFile(bf);
} catch(err) {
- alert("File "+fname+" is not a valid RRD archive!");
+ alert("File "+fname+" is not a valid RRD archive!\n"+err);
}
if (i_rrd_data!=undefined) {
diff --git a/src/examples/rrdJFlotTwo.html b/src/examples/rrdJFlotTwo.html
index cad36b0..c2bef5f 100644
--- a/src/examples/rrdJFlotTwo.html
+++ b/src/examples/rrdJFlotTwo.html
@@ -97,7 +97,7 @@
try {
var i_rrd_data=new RRDFile(bf);
} catch(err) {
- alert("File "+fname1+" is not a valid RRD archive!");
+ alert("File "+fname1+" is not a valid RRD archive!\n"+err);
}
if (i_rrd_data!=undefined) {
rrd_data1=i_rrd_data;
@@ -110,7 +110,7 @@
try {
var i_rrd_data=new RRDFile(bf);
} catch(err) {
- alert("File "+fname2+" is not a valid RRD archive!");
+ alert("File "+fname2+" is not a valid RRD archive!\n"+err);
}
if (i_rrd_data!=undefined) {
rrd_data2=i_rrd_data;
diff --git a/src/examples/rrdMatrixFlot.html b/src/examples/rrdMatrixFlot.html
index 00dd31f..c0315bc 100644
--- a/src/examples/rrdMatrixFlot.html
+++ b/src/examples/rrdMatrixFlot.html
@@ -83,7 +83,7 @@
try {
var i_rrd_data=new RRDFile(bf);
} catch(err) {
- alert("File at idx "+idx+" is not a valid RRD archive!");
+ alert("File at idx "+idx+" is not a valid RRD archive!\n"+err);
}
if (i_rrd_data!=undefined) {
rrd_data[idx]=i_rrd_data;