Skip to content

[v9] Remove workaround for Platform.executable  #2750

@ueman

Description

@ueman

Description

Since you've raised the minimal Flutter/Dart versions, you can remove this workaround:

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;
}

flutter/flutter#83921 is no longer happening for the supported versions.

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions