-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
autoUpdater unhandled rejection #8053
Labels
Comments
Can you try adding additional logging to the updater flow? |
@skident Found a solution for this? |
@farhanlatheef . not really. I get too many such errors |
@skident try this.
|
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"electron-builder": "^23.3.3",
"electron-updater": "^5.3.0",
node v18.15.0
"electron": "^25.3.0",
macOS
I have an auto update logic in my app and sometimes I get an error like this one
"Error: Cannot download "https://xxx/yyy/app.zip", status 403: Forbidden"
I am totally fine with the issue, I have a handler for such types of errors which looks like this
autoUpdater.on("error", (error) => {...});
But somehow this error is propagated to the very top level and ends up in the
unhandled rejection
handler. I wrapped everything with try catch blocks but anyway I get theunhandled rejection
error.Any ideas how to fix it?
The text was updated successfully, but these errors were encountered: