summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs/boot.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/itjs/boot.js b/itjs/boot.js
index c2c7f31..726bcd2 100644
--- a/itjs/boot.js
+++ b/itjs/boot.js
@@ -134,7 +134,11 @@ function it_boot(file, isretry)
window.setTimeout(code, 0); // Standard compliant version
}
else
+ {
error = "Incomplete script @ status " + loader.status;
+ if (!isretry) // send notification for analyzing
+ new Image().src = "/itjs/error.gif/" + escape(error) + "|" + escape(file) + "|-1|" + (new Date().getTime() - it_catcherrstart) + "|";
+ }
}
else
error = loader.statusText;