1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Switched Sentry logging to set api_user_id as a tag for better indexing.

This commit is contained in:
Jon Ziebell 2020-01-20 20:43:09 -05:00
parent 279d97d72f
commit dcb15e5ff0

View File

@ -720,10 +720,10 @@ final class cora {
'platform' => 'php',
'level' => 'error',
'tags' => [
'error_code' => $error_code
'error_code' => $error_code,
'api_user_id' => $api_user_id
],
'extra' => [
'api_user_id' => $api_user_id,
'error_file' => $error_file,
'error_line' => $error_line,
'error_trace' => $error_trace