完善各种日志的输出

This commit is contained in:
iyuu.cn
2020-01-18 12:15:57 +08:00
parent 51f3fa39bc
commit ef2668ca54
2 changed files with 38 additions and 52 deletions

View File

@ -87,7 +87,7 @@ class qBittorrent implements AbstractClientInterface
$this->curl->setOpt(CURLOPT_TIMEOUT, 600); // 超时
// Authenticate and get cookie, else throw exception
if (!$this->authenticate()) {
throw new \Exception("Unable to authenticate with Web Api.");
throw new \Exception("qBittorrent Unable to authenticate with Web Api.");
}
}