From 56e586b0568f98e310972da210a8978632575811 Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Mon, 6 May 2019 17:59:54 +1000 Subject: [PATCH] Increased stack trace limit so that there are more likely to be the lines people care about in the resulting stack traces. --- src/cli/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/utils.ts b/src/cli/utils.ts index fa4c254..bc7af35 100644 --- a/src/cli/utils.ts +++ b/src/cli/utils.ts @@ -19,6 +19,7 @@ const writeFile = promisify(writeFileCallback); // Source Map Support adds proper source map support so line numbers match up to the original TS code. import 'trace'; import 'clarify'; +Error.stackTraceLimit = 20; import { Docker } from 'docker-cli-js'; export const docker = new Docker();