mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-19 03:01:26 +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(_) => {}
|
Ok(_) => {}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
error!("could not mark game as complete: {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