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 }