Skip to content

Add logging for early returns in copy and paste handling - #282989

Merged
Aiday Marlen Kyzy (aiday-mar) merged 2 commits into
mainfrom
efficient-walrus
Dec 12, 2025
Merged

Add logging for early returns in copy and paste handling#282989
Aiday Marlen Kyzy (aiday-mar) merged 2 commits into
mainfrom
efficient-walrus

Conversation

@aiday-mar

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive trace logging for debugging copy and paste operations in the editor. The changes instrument both handleCopy and handlePaste methods to log all early return paths and successful completion paths, making it easier to diagnose issues in the copy/paste flow.

Key changes:

  • Added trace logs for all early return conditions in handleCopy (5 early return paths)
  • Added trace logs for all early return conditions in handlePaste (3 early return paths)
  • Added trace logs at the end of both methods to indicate successful completion

@aiday-mar
Aiday Marlen Kyzy (aiday-mar) merged commit 39b0686 into main Dec 12, 2025
28 checks passed
@aiday-mar
Aiday Marlen Kyzy (aiday-mar) deleted the efficient-walrus branch December 12, 2025 10:25
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Jan 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants