mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Stop sending errors to Sentry for anything except for the regular app API user
This commit is contained in:
parent
e1f55b541f
commit
b740d75760
@ -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')),
|
||||
|
Loading…
x
Reference in New Issue
Block a user