oups
parent
7ccf296cdd
commit
876e27ae4e
|
@ -164,7 +164,7 @@ class Utils
|
||||||
try {
|
try {
|
||||||
$rsp = HttpClient::quickPost(sprintf(self::url(), 'report'), ['key' => self::key(), 'report' => $contents]);
|
$rsp = HttpClient::quickPost(sprintf(self::url(), 'report'), ['key' => self::key(), 'report' => $contents]);
|
||||||
if ($rsp !== 'ok') {
|
if ($rsp !== 'ok') {
|
||||||
pdump($rsp);
|
throw new Exception('bad API response');
|
||||||
}
|
}
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
dcCore::app()->error->add(__('Dotclear.watch report failed'));
|
dcCore::app()->error->add(__('Dotclear.watch report failed'));
|
||||||
|
|
Loading…
Reference in New Issue