mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-15 07:56:11 +08:00
@ -18,7 +18,8 @@ int handle_error(int err) {
|
|||||||
if (err != 0) {
|
if (err != 0) {
|
||||||
const gj_error *e = gj_error_info(err);
|
const gj_error *e = gj_error_info(err);
|
||||||
if (e) {
|
if (e) {
|
||||||
__android_log_print("Error %d/%d: %s\n", err, e->code, e->message);
|
__android_log_print(ANDROID_LOG_ERROR, "GitJournalLib", "Error %d/%d: %s\n", err,
|
||||||
|
e->code, e->message);
|
||||||
gj_error_free(e);
|
gj_error_free(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user