From a0075ed6f47486ee6ce21c2f6f2ec896ffb457ef Mon Sep 17 00:00:00 2001 From: hareku Date: Fri, 29 May 2020 16:03:38 +0900 Subject: [PATCH] fix: remove error.stack modification (#3212) Error.stack is non standard Co-authored-by: Eduardo San Martin Morote --- src/history/errors.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/history/errors.js b/src/history/errors.js index 21f3f56f9..2d624e135 100644 --- a/src/history/errors.js +++ b/src/history/errors.js @@ -48,9 +48,6 @@ function createRouterError (from, to, type, message) { error.to = to error.type = type - const newStack = error.stack.split('\n') - newStack.splice(1, 2) // remove 2 last useless calls - error.stack = newStack.join('\n') return error }