-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat] Catch tauri errors #10157
Comments
Seems like we use
Seems like this is also when theme API gets added, probably could document when it's added and skip it instead of returning error for unsupported platforms
I might be wrong but looks like you're using |
Let me catch such errors. currently I don't get anything from it. I even have a panic hook, but it doesn't kick in since seems like the event loop just keep runing. |
I don't quite get it to be honest, |
Sorry, I should have explained it better. Even though I'm using |
Ah, got it
Looking at this, it seems like the It seems like it's creating windows before setup hook which should be from config files but I don't see any windows from your config files, pretty strange |
In addition the process kept running (the process was still listed in task manager) |
Is it possible to also detect an outdated webview version and ask the user to update? |
Yes, with |
Describe the problem
Some users have an old version of webview2. if it's too old, the internal function create_webview will fail to run, tauri will log the error, but the app will still run in the background without show any error or crash the thread.
Describe the solution you'd like
Let me catch such errors. currently I don't get anything from it. I even have a panic hook, but it doesn't kick in since seems like the event loop just keep runing.
Alternatives considered
Additional context
thewh1teagle/vibe#153 (comment)
The text was updated successfully, but these errors were encountered: