From 18c01f144d706d95b91fb1e4d890be2a9e5db533 Mon Sep 17 00:00:00 2001 From: Igor Sfiligoi Date: Sat, 8 Sep 2012 20:33:26 +0000 Subject: Proper propagation of the error --- src/examples/rrdContent.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/examples/rrdContent.html') 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; -- cgit v1.2.3-54-g00ecf