Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 1b426a7

Browse files
author
Emmanuel Garcia
committed
Remove log
1 parent 3d0765e commit 1b426a7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

runtime/dart_isolate.cc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -744,11 +744,7 @@ static void InvokeDartPluginRegistrantIfAvailable(Dart_Handle library_handle) {
744744
if (Dart_IsError(plugin_registrant)) {
745745
return;
746746
}
747-
Dart_Handle result =
748-
tonic::DartInvokeField(plugin_registrant, "register", {});
749-
if (tonic::LogIfError(result)) {
750-
FML_LOG(ERROR) << "The Dart plugin registrant produced an error";
751-
}
747+
tonic::LogIfError(tonic::DartInvokeField(plugin_registrant, "register", {}));
752748
}
753749

754750
bool DartIsolate::RunFromLibrary(std::optional<std::string> library_name,

0 commit comments

Comments
 (0)