From cffce88e32ba9bb3e126d3babb49ddc58418b910 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Wed, 19 Apr 2023 14:27:02 -0230 Subject: [PATCH] Fix Sentry console logs (#18539) Sentry console logs were failing with the error "Error: TypeError: Cannot read properties of undefined (reading 'log')". This error has been fixed; now Sentry can log errors to the console. Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com> --- development/build/scripts.js | 1 + 1 file changed, 1 insertion(+) diff --git a/development/build/scripts.js b/development/build/scripts.js index 55323a454..393e43b35 100644 --- a/development/build/scripts.js +++ b/development/build/scripts.js @@ -72,6 +72,7 @@ const scuttlingConfigBase = { Date: '', JSON: '', encodeURIComponent: '', + console: '', crypto: '', // {clear/set}Timeout are "this sensitive" clearTimeout: 'window',