This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chakrashim: use proxy to patch error types
Previous patchErrorTypes() replaces builtin error types with custom wrapper functions. However that breaks Error.stackTraceLimit. Setting that property would be setting on the wrapper function, not builtin Error function, thus has no effect on runtime. Replaced with proxies. Reviewed-by: kunalspathak
- Loading branch information
Jianchun Xu
committed
Jun 29, 2015
1 parent
26ff29c
commit 70f8352
Showing
1 changed file
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters