From 73abc6837b734e71916c54342ea5baff46a7f31e Mon Sep 17 00:00:00 2001 From: "Hung-Han (Henry) Chen" Date: Thu, 8 Jul 2021 11:53:18 +0300 Subject: [PATCH] Add hr for Sentry event log Signed-off-by: Hung-Han (Henry) Chen --- src/common/sentry.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/sentry.ts b/src/common/sentry.ts index b33c2bc6c4..62e5382ac2 100644 --- a/src/common/sentry.ts +++ b/src/common/sentry.ts @@ -89,7 +89,9 @@ export const SentryInit = () => { if (allowErrorReporting) return event; logger.info(`🔒 [SENTRY-BEFORE-SEND-HOOK]: allowErrorReporting: ${allowErrorReporting}. Sentry event is caught but not sent to server.`); + logger.info("🔒 [SENTRY-BEFORE-SEND-HOOK]: === START OF SENTRY EVENT ==="); logger.info(event); + logger.info("🔒 [SENTRY-BEFORE-SEND-HOOK]: === END OF SENTRY EVENT ==="); // if return null, the event won't be sent // ref https://github.com/getsentry/sentry-javascript/issues/2039