Skip to content

Commit

Permalink
fix(crwa): silence telemetry errors (#11557)
Browse files Browse the repository at this point in the history
Recently there has been an increasing amount of telemetry errors. I will
replace our current telemetry based on otel back to the classic
telemetry we had before. Until then we wish to disable logging this
error to improve the user experience.
  • Loading branch information
Josh-Walker-GM committed Sep 14, 2024
1 parent e9cf8e8 commit 1c0e073
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/create-redwood-app/src/telemetry.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,8 @@ export async function shutdownTelemetry() {
await traceProvider?.shutdown()
await traceProcessor?.shutdown()
await traceExporter?.shutdown()
} catch (error) {
console.error('Telemetry error')
console.error(error)
} catch {
// We silence this error for user experience
}
}

Expand Down

0 comments on commit 1c0e073

Please sign in to comment.