Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(@angular/cli): print error code when available on unexpected error occurred #26649

Closed
wants to merge 1 commit into from

Conversation

alan-agius4
Copy link
Collaborator

In some cases, Node.js expection would only contain an error code, example ERR_UNSUPPORTED_ESM_URL_SCHEME. This caused An unexpected error occurred: [object Object] to be logged in the console.

Closes #26648

…r occurred

In some cases, Node.js expection would only contain an error code, example `ERR_UNSUPPORTED_ESM_URL_SCHEME`. This caused `An unexpected error occurred: [object Object]` to be logged in the console.

Closes angular#26648
@alan-agius4 alan-agius4 requested a review from clydin December 12, 2023 16:24
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Dec 12, 2023
@alan-agius4 alan-agius4 removed the request for review from clydin December 12, 2023 16:30
@alan-agius4 alan-agius4 deleted the error-code branch December 12, 2023 16:35
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release
Projects
None yet
1 participant