fix: return error on window creation failed - #13970
Conversation
Package Changes Through 6a6df33There are 8 changes which include tauri-utils with minor, tauri-cli with minor, @tauri-apps/cli with minor, tauri-bundler with patch, tauri-runtime-wry with patch, tauri with minor, @tauri-apps/api with minor, tauri-plugin with minor 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 |
Modifying the existing variant would count as a breaking change i think? We could add a new variant but maybe just add a todo for v3 on the existing variant idk 🤷
Doesn't really matter if it is/was intention (to me at least), we should strive towards never panicking in our libs imo |
Reference: #13969
Not sure if we could change the
CreateWindowerror varient to something like what we have forCreateWebviewto include the actual errorI'm not entirely sure if this panic is intentional or not (I would assume not) and the git blame shows that it's from ages ago