8000 fix(throw error): output log · mrauhu/vue-meteor@0ba79ff · GitHub
[go: up one dir, main page]

Skip to content

Commit 0ba79ff

Browse files
author
Guillaume Chau
committed
fix(throw error): output log
1 parent 9b502b2 commit 0ba79ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/vue-component/plugin/utils.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,12 @@ throwCompileError = function throwCompileError (options) {
195195
})
196196
}
197197

198+
console.error(output)
199+
198200
const err = new TemplatingTools.CompileError()
199201
err.message = output
200202
err.file = file
201203
err.line = lineNumber
202-
console.error(err)
203204
throw err
204205
}
205206

0 commit comments

Comments
 (0)
0