Skip to content

Improve error message for sudo request denial#81

Open
nvdk wants to merge 1 commit into
mu-semtech:masterfrom
nvdk:patch-6
Open

Improve error message for sudo request denial#81
nvdk wants to merge 1 commit into
mu-semtech:masterfrom
nvdk:patch-6

Conversation

@nvdk

@nvdk nvdk commented Jun 11, 2026

Copy link
Copy Markdown
Member

Quality of life improvement: This makes the error message immediately visible in logs and stack traces, rather than appearing as "undefined".

throw new Error("...") creates a proper error object with a .message property.

Quality of life improvement: This makes the error message immediately visible in logs and stack traces, rather than appearing as "undefined".

throw new Error("...") creates a proper error object with a .message property.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant