File tree 2 files changed +2
-15
lines changed
lib/src/event_processor/enricher 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ Future<void> main() async {
24
24
Future <void > runApp () async {
25
25
print ('runApp' );
26
26
27
+ // ignore: deprecated_member_use
27
28
document.querySelector ('#output' )? .text = 'Your Dart app is running.' ;
28
29
29
30
await Sentry .addBreadcrumb (
Original file line number Diff line number Diff line change @@ -78,21 +78,7 @@ class IoEnricherEventProcessor implements EnricherEventProcessor {
78
78
79
79
String ? executable;
80
80
if (_options.sendDefaultPii) {
81
- try {
82
- // This throws sometimes for some reason
83
- // https://github.com/flutter/flutter/issues/83921
84
- executable = Platform .executable;
85
- } catch (exception, stackTrace) {
86
- _options.logger (
87
- SentryLevel .error,
88
- 'Platform.executable couldn\' t be retrieved.' ,
89
- exception: exception,
90
- stackTrace: stackTrace,
91
- );
92
- if (_options.automatedTestMode) {
93
- rethrow ;
94
- }
95
- }
81
+ executable = Platform .executable;
96
82
}
97
83
98
84
return < String , dynamic > {
You can’t perform that action at this time.
0 commit comments