We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not sure why it happens even though it's surrounded with a try / catch.
// main/index.ts electronDl({ saveAs: true, }); // IPC handler try { await download(window, url, { saveAs: true, filename, }); } catch (e) { this.log.withError(e).error('Unable to download file'); }
The text was updated successfully, but these errors were encountered:
After more investigation, it seems I don't even need the await download() call to reproduce it. I just need to call:
await download()
mainWindow.webContents.downloadURL(..)
If I remove the electronDl() init call, then I won't get the error when canceling
electronDl()
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Not sure why it happens even though it's surrounded with a try / catch.
The text was updated successfully, but these errors were encountered: