Skip to content

Commit

Permalink
Log dlopen errors only in debug mode
Browse files Browse the repository at this point in the history
dlopen errors are expected behavior when locating libapp.so on some older
Android devices (see flutter#9762)
  • Loading branch information
jason-simmons committed Jul 17, 2019
1 parent f348270 commit 7b77ef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fml/platform/posix/native_library_posix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ NativeLibrary::NativeLibrary(const char* path) {
::dlerror();
handle_ = ::dlopen(path, RTLD_NOW);
if (handle_ == nullptr) {
FML_LOG(ERROR) << "Could not open library '" << path << "' due to error '"
<< ::dlerror() << "'.";
FML_DLOG(ERROR) << "Could not open library '" << path << "' due to error '"
<< ::dlerror() << "'.";
}
}

Expand Down

0 comments on commit 7b77ef7

Please sign in to comment.