feat: add safeCall support for usePresenter#1328
feat: add safeCall support for usePresenter#1328zerob13 merged 1 commit intoThinkInAIXYZ:feat/new-thread-mockfrom
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
LGTM |
#1324
为 usePresenter 添加 safeCall 支持
移除了最外层的 try catch,因为
getWebContentsIdtryToRow以及没有 await 的invoke都是安全的。