mirror of
https://github.com/beestat/app.git
synced 2026-05-21 14:46:30 -04:00
Stop sending errors to Sentry for anything except for the regular app API user
This commit is contained in:
+2
-1
@@ -715,7 +715,8 @@ final class cora {
|
||||
if (
|
||||
$reportable === true &&
|
||||
$this->setting->get('sentry_key') !== null &&
|
||||
$this->setting->get('sentry_project_id') !== null
|
||||
$this->setting->get('sentry_project_id') !== null &&
|
||||
$api_user_id === 1
|
||||
) {
|
||||
$data = [
|
||||
'event_id' => str_replace('-', '', exec('uuidgen -r')),
|
||||
|
||||
Reference in New Issue
Block a user