summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/native_library_linux.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/native_library_linux.cc b/base/native_library_linux.cc
index 39221c1..d1494133 100644
--- a/base/native_library_linux.cc
+++ b/base/native_library_linux.cc
@@ -15,8 +15,10 @@ namespace base {
// static
NativeLibrary LoadNativeLibrary(const FilePath& library_path) {
void* dl = dlopen(library_path.value().c_str(), RTLD_LAZY|RTLD_DEEPBIND);
- if (!dl)
- NOTREACHED() << "dlopen failed: " << dlerror();
+ if (!dl) {
+ LOG(ERROR) << "dlopen failed when trying to open " << library_path.value()
+ << ": " << dlerror();
+ }
return dl;
}