claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] ASYNC FUNCTION WITHOUT A CATCH BLOCK

Open mrrobotke opened this issue 1 year ago • 3 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

operating system : Machos Tahoe 26.1

Claude version : v2.0.25

Terminal: Version 2.15 (464)

Image

Whenever I send a prompt I get this bug everytime, its non blocking error for now since claude behaves normally but it does affect the ui in terminal for claude.

Error: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:

The error once thrown a duplicate entry ui field appears though it s non functional input area

What Should Happen?

Sending a prompt should not trigger the error and enither should it create the duplicate ui entry

Error Messages/Logs


Steps to Reproduce

  1. Open Terminal
  2. Start with plan mode
  3. Don't accept plan
  4. switch to auto accept mode and enter prompt and send

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.0.23

Claude Code Version

2.0.25

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

mrrobotke avatar Oct 22 '25 07:10 mrrobotke

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/10043
  2. https://github.com/anthropics/claude-code/issues/10072
  3. https://github.com/anthropics/claude-code/issues/9602

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Oct 22 '25 07:10 github-actions[bot]

This issue has been automatically closed as a duplicate of #10043.

If this is incorrect, please re-open this issue or create a new one.

🤖 Generated with Claude Code

github-actions[bot] avatar Oct 25 '25 09:10 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Nov 01 '25 14:11 github-actions[bot]