From e66e8a4eb2df9ac678e6ecc5ffee2b6b84eace13 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Thu, 10 Dec 2020 17:20:05 -0500 Subject: [PATCH] pad: Fix wrong variable name in global exception handler This fixes a bug introduced in commit c845d985e0d6014f2c2474564c59f33cdc552de6. --- src/static/js/pad_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/pad_utils.js b/src/static/js/pad_utils.js index 93d3d7a45..4aaedaf0e 100644 --- a/src/static/js/pad_utils.js +++ b/src/static/js/pad_utils.js @@ -333,7 +333,7 @@ padutils.setupGlobalExceptionHandler = () => { globalExceptionHandler = (e) => { let type; let err; - let msg, url, lineno; + let msg, url, linenumber; if (e instanceof ErrorEvent) { type = 'Uncaught exception'; err = e.error || {};