For asynchronous setup exceptions, renderoString cannot capture them #12662
-
My project is SSR, and we have found that it was swallowed due to an exception. The corresponding source code address is https://github.com/vuejs/core/blob/main/packages/server-renderer/src/render.ts#L107-L118 May I ask why NOOP is used here instead of throwing an exception directly? https://codesandbox.io/p/devbox/heuristic-jennings-z8y2kg thank🙏 |
Beta Was this translation helpful? Give feedback.
Answered by
Wei-Ba
Jan 9, 2025
Replies: 1 comment 1 reply
-
上面不是写了嘛
错误通过生命周期钩子来弄 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zzzzzshPig
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
上面不是写了嘛
错误通过生命周期钩子来弄
errorHandler和errorCaptured