fix(cli): properly exit with code 1 on panic when running with bun#10572
fix(cli): properly exit with code 1 on panic when running with bun#10572lucasfernog merged 1 commit intodevfrom
Conversation
Package Changes Through f9d98f7There are 6 changes which include tauri-build with prepatch, tauri-codegen with prerelease, tauri-utils with prerelease, tauri-cli with prerelease, @tauri-apps/cli with prerelease, tauri with prerelease Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
amrbashir
left a comment
There was a problem hiding this comment.
do we really need to do anything about it? sounds like a bug in bun and we should just report it to bun instead of adding a workaround?
I'm not even sure if it's really a bug in bun, or just a ""feature"" of Node.js 😂 makes sense anyway for us to catch_unwind here, we're running Rust from another language |
Found out about this when testing #10569 (maybe bun handles this differently when using NAPI?)