-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Catching download exception causes app crash #107
Comments
Issue is reproduced with v0.9.0 |
@alxmiron Thanks for the update. |
Yes, this bug is hard to catch because it can be reproduced only in production mode (autoupdate is not working in dev mode) Here is my test app v3.1.4, where you can see the error: launch it on windows 10 and wait 1-2 minutes. It will look for updates in cdn.hitask.com/desktop/testask/windows/latest.yml and try to upgrade to v3.1.5 (or newer). Once it finds the update - it crashes. Nothing is tracked in sentry.io. Logs are in "%USERPROFILE%\AppData\Roaming\Hitask-Test\log.log" Sentry initialized as in tutorial:
Hope it will help |
Not reproduced with v0.12.1 |
Closing as it sounds fixex |
I use electron-builder to build and autoupdate my app. When new update is found, updater tries to download it differentially and fails:
Cannot download differentially, fallback to full download: Error: EBADF: bad file descriptor
(string from logs)If I remove @sentry/electron, the app is updated successfully with full download. But with sentry it unexpectedly crashes without any bug reporting, without user warning. I suppose that exception is handled with error by sentry. So app can't update and work correctly. I had to replace with Raven again since this is critical to me
The text was updated successfully, but these errors were encountered: