Skip to content

Commit 6e3e989

Browse files
committed
log render error instead of throwing
1 parent ef0d788 commit 6e3e989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/instance/render.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function renderMixin (Vue: Class<Component>) {
6565
if (config._isServer) {
6666
throw e
6767
} else {
68-
setTimeout(() => { throw e }, 0)
68+
console.error(e)
6969
}
7070
}
7171
// return previous vnode to prevent render error causing blank component

0 commit comments

Comments
 (0)