mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-17 18:21:14 +10:00
fix: Send download signal instead of triggering self.on_error
Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
@ -707,7 +707,7 @@ impl Downloadable for GameDownloadAgent {
|
||||
Ok(_) => {}
|
||||
Err(e) => {
|
||||
error!("could not mark game as complete: {e}");
|
||||
self.on_error(app_handle, &ApplicationDownloadError::DownloadError(e));
|
||||
send!(self.sender, DownloadManagerSignal::Error(ApplicationDownloadError::DownloadError(e)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user