Skip to content

Loader: for a non existing import the loader throws the error only the first time #75257

Closed

Description

await import('I_DO_NOT_EXIST')

The loader correctly throws the error the first time this code is exectued.
The second time you execute the code the loader does not throw an error 🐛

Use case for me: https://github.com/Microsoft/vscode/blob/18f4630bc51a3d87c7b31d96ca9c8ea95aa649b0/src/vs/platform/sign/node/signService.ts#L14

Activity

  1. added
    bug
    on Jul 30, 2019
  2. isidorn commented on Jul 30, 2019

    @isidorn
    Author

    Thanks for fixing this, created a follow up item for me #78186

  3. locked and limited conversation to collaborators on Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions