Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dart/example_web/web/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Future<void> main() async {
Future<void> runApp() async {
print('runApp');

// ignore: deprecated_member_use
document.querySelector('#output')?.text = 'Your Dart app is running.';

await Sentry.addBreadcrumb(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,7 @@ class IoEnricherEventProcessor implements EnricherEventProcessor {

String? executable;
if (_options.sendDefaultPii) {
try {
// This throws sometimes for some reason
// https://github.com/flutter/flutter/issues/83921
executable = Platform.executable;
} catch (exception, stackTrace) {
_options.logger(
SentryLevel.error,
'Platform.executable couldn\'t be retrieved.',
exception: exception,
stackTrace: stackTrace,
);
if (_options.automatedTestMode) {
rethrow;
}
}
executable = Platform.executable;
}

return <String, dynamic>{
Expand Down
Loading