Skip to content

Commit

Permalink
Patch formatting of all core Error classes
Browse files Browse the repository at this point in the history
The formatting of the Error class got patched, but the formatting of other core error classes deriving from it were not.
  • Loading branch information
cpetrov committed May 13, 2020
1 parent b8458ef commit 8a085cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/tabris/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8a085cb

Please sign in to comment.