Skip to content

Commit 8a085cb

Browse files
committed
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.
1 parent b8458ef commit 8a085cb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/tabris/main.js

+6
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,12 @@ tabrisMain.on('start', (options) => {
224224
global.console = createConsole(global.console);
225225
}
226226
patchError(Error);
227+
patchError(EvalError);
228+
patchError(RangeError);
229+
patchError(ReferenceError);
230+
patchError(SyntaxError);
231+
patchError(TypeError);
232+
patchError(URIError);
227233
tabris.$app = createApp();
228234
checkVersion(tabris.version, tabris.app._nativeGet('tabrisJsVersion'));
229235
if (!options || !options.headless) {

0 commit comments

Comments
 (0)