pad: Fix wrong variable name in global exception handler

This fixes a bug introduced in commit
c845d985e0.
This commit is contained in:
Richard Hansen 2020-12-10 17:20:05 -05:00 committed by John McLear
parent d25010d5d7
commit e66e8a4eb2

View file

@ -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 || {};