Skip to content

Commit

Permalink
Log dlopen errors only in debug mode (#9890)
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 #9762)
  • Loading branch information
jason-simmons authored and tvolkert committed Jul 17, 2019
1 parent a1f3eda commit badb7bf
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 badb7bf

Please sign in to comment.