From 3632c4b8bc3a20565668b631314407f34c6b3ae6 Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Mon, 20 Jan 2020 21:45:38 -0500 Subject: [PATCH] Removed third party API connection errors from Sentry. --- api/external_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/external_api.php b/api/external_api.php index adca8eb..a57bbca 100644 --- a/api/external_api.php +++ b/api/external_api.php @@ -112,7 +112,7 @@ class external_api extends cora\api { $this->log_mysql($curl_response); } - throw new Exception('Could not connect to ' . $this->resource . '.'); + throw new cora\exception('Could not connect to ' . $this->resource . '.', 10600, false); } // General (success) logging