Skip to content

Conversation

@timfish
Copy link
Contributor

@timfish timfish commented Jun 25, 2024

Uses process.emitWarning rather than console.warn to log error messages when failing to wrap a module.

This means that by default the warnings are truncated. You can get full stack traces by passing --trace-warnings and you can hide the warnings with --no-warnings.

@timfish timfish merged commit a3778ac into nodejs:main Jun 29, 2024
@timfish timfish deleted the fix/use-process.emitWarning branch June 29, 2024 11:50
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.

3 participants