Skip to content
Snippets Groups Projects
Commit 6499c09e authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

chore(logs): add console.group

parent 1a219057
No related branches found
No related tags found
1 merge request!12413.1 Release
......@@ -194,6 +194,7 @@ const SplashRoot = ({ fadeTimer = 1000, children }: SplashRootProps) => {
const startTime = performance.now()
const transaction = Sentry.startTransaction({ name: 'Initialize app' })
try {
console.groupCollapsed('Initialization logs')
// init Terms
const termsStatus = await initializationService.initConsent()
if (subscribed) dispatch(updateTermsStatus(termsStatus))
......@@ -354,6 +355,7 @@ const SplashRoot = ({ fadeTimer = 1000, children }: SplashRootProps) => {
logApp.error(`[Initialization] Error : ${error}`)
Sentry.captureException(error)
} finally {
console.groupEnd()
transaction.finish()
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment