mirror of https://github.com/kiwix/libkiwix.git
[JNI] Fix log typo.
This commit is contained in:
parent
231ae095f6
commit
513cc9c90f
|
@ -64,7 +64,7 @@ Java_org_kiwix_kiwixlib_JNIKiwixLibrary_addBook(JNIEnv* env, jobject obj, jstrin
|
||||||
book.update(reader);
|
book.update(reader);
|
||||||
ret = LIBRARY->addBook(book);
|
ret = LIBRARY->addBook(book);
|
||||||
} catch (std::exception& e) {
|
} catch (std::exception& e) {
|
||||||
__android_log_print(ANDROID_LOG_ERROR, "kiwix", "Unable to get ZIM main page");
|
__android_log_print(ANDROID_LOG_ERROR, "kiwix", "Unable to add the book");
|
||||||
__android_log_print(ANDROID_LOG_ERROR, "kiwix", e.what());
|
__android_log_print(ANDROID_LOG_ERROR, "kiwix", e.what());
|
||||||
ret = false;
|
ret = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue