remove stack message limit
This commit is contained in:
parent
cae4bc5e83
commit
225dd0a802
|
@ -11,8 +11,8 @@ namespace ts {
|
||||||
*/
|
*/
|
||||||
/* @internal */
|
/* @internal */
|
||||||
export function setStackTraceLimit() {
|
export function setStackTraceLimit() {
|
||||||
if ((Error as any).stackTraceLimit < 100) { // Also tests that we won't set the property if it doesn't exist.
|
if ((Error as any).stackTraceLimit < Infinity) { // Also tests that we won't set the property if it doesn't exist.
|
||||||
(Error as any).stackTraceLimit = 100;
|
(Error as any).stackTraceLimit = Infinity;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue