master
Jean-Christian Paul Denis 2023-07-23 09:58:18 +02:00
parent 7ccf296cdd
commit 876e27ae4e
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class Utils
try {
$rsp = HttpClient::quickPost(sprintf(self::url(), 'report'), ['key' => self::key(), 'report' => $contents]);
if ($rsp !== 'ok') {
pdump($rsp);
throw new Exception('bad API response');
}
} catch (Exception $e) {
dcCore::app()->error->add(__('Dotclear.watch report failed'));