File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 11import 'package:core/utils/application_manager.dart' ;
22import 'package:core/utils/build_utils.dart' ;
33import 'package:core/utils/config/env_loader.dart' ;
4+ import 'package:core/utils/app_logger.dart' ;
45import 'package:flutter_dotenv/flutter_dotenv.dart' ;
56
67/// Holds configuration values for initializing Sentry.
@@ -69,13 +70,18 @@ class SentryConfig {
6970 final appVersion = await ApplicationManager ().getAppVersion ();
7071
7172 const sentryDist = String .fromEnvironment ('SENTRY_DIST' );
73+ logTrace (
74+ 'SentryConfig::load: sentryDist is $sentryDist ,'
75+ 'appVersion is $appVersion ' ,
76+ webConsoleEnabled: true ,
77+ );
7278
7379 return SentryConfig (
7480 dsn: sentryDSN,
7581 environment: sentryEnvironment,
7682 release: appVersion,
7783 isAvailable: isAvailable,
78- dist: sentryDist.isNotEmpty ? sentryDist : null ,
84+ dist: sentryDist.isNotEmpty ? sentryDist : 'cd0ef018226c405b160c55ad4a28b0e4f4e733d7' ,
7985 );
8086 }
8187}
You can’t perform that action at this time.
0 commit comments