I am just getting started using buglog from the client side using a simple 1 page test app. While testing I noticed that when I call BugLog.notifyService firebug shows a javascript error "ReferenceError: OK is not defined"
The error does get correctly logged to buglog and the reset service returns "OK" so I don't know what I am seeing this. Im not sure if it is a firebug or buglog issue.
Aside: I don't know if this makes any difference but I am sending to the listener over ssl.
Browser: Firefox 25.0.1
OS: Windows 7
Plugin: Firebug 1.12.5
Here is the code to replicate.
<html>
<head>
<script type="text/javascript" src="bugLogClient.js"></script>
</head>
<body>
<script>
BugLog.listener = "
https://buglog.ourdomain.com/bugLog/listeners/bugLogListenerREST.cfm";
BugLog.appName = "Your_App_Name";
try {
alert(test);
} catch(e) {
BugLog.notifyService({
message: e.message,
error: e,
severity: "ERROR"
});
}
</script>
</body>
</html>