Skip to content

feat: add safeCall support for usePresenter#1328

Merged
zerob13 merged 1 commit intoThinkInAIXYZ:feat/new-thread-mockfrom
zfangqijun:feat/use-presenter-safecall
Mar 5, 2026
Merged

feat: add safeCall support for usePresenter#1328
zerob13 merged 1 commit intoThinkInAIXYZ:feat/new-thread-mockfrom
zfangqijun:feat/use-presenter-safecall

Conversation

@zfangqijun
Copy link

@zfangqijun zfangqijun commented Mar 4, 2026

#1324

为 usePresenter 添加 safeCall 支持

移除了最外层的 try catch,因为 getWebContentsId tryToRow 以及没有 await 的 invoke 都是安全的。

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 4, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a5edc79f-e79e-4e3f-a22e-80ee8e2eeadf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@zerob13
Copy link
Collaborator

zerob13 commented Mar 5, 2026

LGTM

@zerob13 zerob13 merged commit d6acd93 into ThinkInAIXYZ:feat/new-thread-mock Mar 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants