From ccf79f45e4fa0240bdeb61a8b92b4d0c4e89dec0 Mon Sep 17 00:00:00 2001 From: OldHawk Date: Sat, 13 Jan 2018 17:21:30 +0800 Subject: [PATCH] fix(torrents): check torrent status when user download a torrent --- .../client/services/torrent-download.client.service.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/torrents/client/services/torrent-download.client.service.js b/modules/torrents/client/services/torrent-download.client.service.js index 237cddfc..bcaf222d 100644 --- a/modules/torrents/client/services/torrent-download.client.service.js +++ b/modules/torrents/client/services/torrent-download.client.service.js @@ -39,6 +39,9 @@ case 703: NotifycationService.showErrorNotify('SERVER.CAN_NOT_DOWNLOAD_IDLE', 'TORRENT_DOWNLOAD_ERROR'); break; + case 704: + NotifycationService.showErrorNotify('SERVER.TORRENT_STATUS_ERROR', 'TORRENT_DOWNLOAD_ERROR'); + break; default: NotifycationService.showErrorNotify(err.data.message, 'TORRENT_DOWNLOAD_ERROR'); }