From 8a085cb31875c8410f41a8c7a047ef9d4d7b6e2f Mon Sep 17 00:00:00 2001 From: Christian Petrov Date: Wed, 13 May 2020 15:48:44 +0200 Subject: [PATCH] Patch formatting of all core Error classes The formatting of the Error class got patched, but the formatting of other core error classes deriving from it were not. --- src/tabris/main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tabris/main.js b/src/tabris/main.js index b5782ea00..195248867 100644 --- a/src/tabris/main.js +++ b/src/tabris/main.js @@ -224,6 +224,12 @@ tabrisMain.on('start', (options) => { global.console = createConsole(global.console); } patchError(Error); + patchError(EvalError); + patchError(RangeError); + patchError(ReferenceError); + patchError(SyntaxError); + patchError(TypeError); + patchError(URIError); tabris.$app = createApp(); checkVersion(tabris.version, tabris.app._nativeGet('tabrisJsVersion')); if (!options || !options.headless) {