Revert "Log dlopen errors in opt builds (#41477)" (flutter/engine#43677)

This reverts commit 2b0b0a0e78.

This didn't seem to help with debugging b/276657840. Fixes https://github.com/flutter/flutter/issues/125523.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
Jia Hao
2023-07-18 12:52:48 +08:00
committed by GitHub
parent ac41242359
commit 409cd83cb4

View File

@@ -13,10 +13,8 @@ NativeLibrary::NativeLibrary(const char* path) {
::dlerror();
handle_ = ::dlopen(path, RTLD_NOW);
if (handle_ == nullptr) {
// TODO(jiahaog): Use FML_DLOG:
// https://github.com/flutter/flutter/issues/125523
FML_LOG(ERROR) << "Could not open library '" << path << "' due to error '"
<< ::dlerror() << "'.";
FML_DLOG(ERROR) << "Could not open library '" << path << "' due to error '"
<< ::dlerror() << "'.";
}
}