From dcb15e5ff0f4df49f8a00e8e570e0db04deb11b1 Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Mon, 20 Jan 2020 20:43:09 -0500 Subject: [PATCH] Switched Sentry logging to set api_user_id as a tag for better indexing. --- api/cora/cora.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/cora/cora.php b/api/cora/cora.php index 9755f4d..549fbbe 100644 --- a/api/cora/cora.php +++ b/api/cora/cora.php @@ -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