mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-12 11:12:07 +00:00
fix: fixing sonar issues
This commit is contained in:
parent
bfd54d5a3a
commit
dcd16346ab
1 changed files with 6 additions and 0 deletions
|
@ -304,6 +304,12 @@ export class DownloadManager {
|
|||
};
|
||||
case Downloader.RealDebrid: {
|
||||
const downloadUrl = await RealDebridClient.getDownloadUrl(download.uri);
|
||||
|
||||
if (!downloadUrl)
|
||||
throw new Error(
|
||||
"This download is not available on Real-Debrid and polling download status from Real-Debrid is not yet available."
|
||||
);
|
||||
|
||||
return {
|
||||
action: "start",
|
||||
game_id: downloadId,
|
||||
|
|
Loading…
Reference in a new issue