Skip to content

Conversation

@mike-wellner
Copy link

When a C++ exception that's not a Napi::Error is thrown from a NAPI function, it typically causes the Node.js process to terminate rather than being converted to a JavaScript error that can be caught. Therefore, the SystemError thrown by GetDiskUsage (Win) will result in an unhandled C++ exception.

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