diff --git a/api/cora/cora.php b/api/cora/cora.php index 549fbbe..3cb9270 100644 --- a/api/cora/cora.php +++ b/api/cora/cora.php @@ -712,7 +712,7 @@ final class cora { // Send data to Sentry for error logging. // https://docs.sentry.io/development/sdk-dev/event-payloads/ - if ($reportable === true) { + if ($reportable === true && $this->setting->get('environment') === 'live') { $data = [ 'event_id' => str_replace('-', '', exec('uuidgen -r')), 'timestamp' => date('c'),