Skip to content

Conversation

@josephjclark
Copy link
Collaborator

Found a case where a rejected promise has no error information attached.

The fix is to force an error object to be generated in these cases. Not sure if I'm committed to this yet - just trying it out.

Fixes #1174

AI Usage

Please disclose how you've used AI in this work (it's cool, we just want to know!):

  • Code generation (copilot but not intellisense)
  • Learning or fact checking
  • Strategy / design
  • Optimisation / refactoring
  • Translation / spellchecking / doc gen
  • Other
  • I have not used AI

You can read more details in our Responsible AI Policy

@github-project-automation github-project-automation bot moved this to New Issues in v2 Dec 16, 2025
@josephjclark josephjclark changed the title experiment with custom promise Runtime: experiment with custom promise class Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New Issues

Development

Successfully merging this pull request may close these issues.

Runtime: no position returned for a rejected promise

2 participants