Code style fix and comment addition

This commit is contained in:
crazywhalecc
2024-07-07 21:18:30 +08:00
committed by Jerry Ma
parent 3c0eb68c70
commit c6a22fbd14
4 changed files with 3 additions and 4 deletions

View File

@@ -558,7 +558,6 @@ class Downloader
try {
f_passthru($cmd);
} catch (RuntimeException $e) {
var_dump($e->getCode());
if ($e->getCode() === 2 || $e->getCode() === -1073741510) {
throw new WrongUsageException('Keyboard interrupted, download failed !');
}