aboutsummaryrefslogtreecommitdiff
path: root/src/wxBackend.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-19 16:33:29 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-19 16:33:29 +0100
commit2cd4a85ed4c57a705e3aeb88052be616e0461187 (patch)
tree7adf45ccda4eace9d350cb593ae19cd1151d300e /src/wxBackend.ts
parent50090b5fb44f9d3986064dfe9b6190b66cbe49bf (diff)
better error reporting
Diffstat (limited to 'src/wxBackend.ts')
-rw-r--r--src/wxBackend.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wxBackend.ts b/src/wxBackend.ts
index ec6d95874..7893dd64d 100644
--- a/src/wxBackend.ts
+++ b/src/wxBackend.ts
@@ -425,7 +425,7 @@ function clearRateLimitCache() {
export function wxMain() {
window.onerror = (m, source, lineno, colno, error) => {
- logging.record("error", m + error, source || "(unknown)", lineno || 0, colno || 0);
+ logging.record("error", m + error, undefined, source || "(unknown)", lineno || 0, colno || 0);
}
chrome.browserAction.setBadgeText({ text: "" });