From 876e27ae4efe2439eba4f259f81030828983f2b0 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 23 Jul 2023 09:58:18 +0200 Subject: [PATCH] oups --- src/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils.php b/src/Utils.php index e91cb62..1442886 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -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'));