This commit is contained in:
Hachi-R 2024-11-04 03:13:50 -03:00
parent bd8974c7cb
commit 92ec056ba8
2 changed files with 3 additions and 4 deletions

View File

@ -130,7 +130,7 @@ export class PythonInstance {
action: "pause",
game_id: this.downloadingGameId,
} as PauseDownloadPayload)
.catch(() => { });
.catch(() => {});
this.downloadingGameId = -1;
}
@ -162,7 +162,7 @@ export class PythonInstance {
action: "cancel",
game_id: gameId,
} as CancelDownloadPayload)
.catch(() => { });
.catch(() => {});
this.downloadingGameId = -1;
}
@ -187,7 +187,7 @@ export class PythonInstance {
magnet: game.uri,
save_path: game.downloadPath,
} as StartDownloadPayload)
.catch(() => { });
.catch(() => {});
}
private static async handleRpcError(_error: unknown) {

View File

@ -40,4 +40,3 @@ export interface ProcessPayload {
export interface SeedPayload {
should_seed: boolean;
}