Skip to content

Ensure all promises have exception handlers #327

@DonJayamanne

Description

@DonJayamanne

This applies to commands and other VS Code API that return promises.

Note: We seem to have code within the extension where this happens today.
See #218 (comment)

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'SendExceptionInfo' of null
(node:6204) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    debtCovers everything internal: CI, testing, refactoring of the codebase, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions