fix: error logging for sync failure
This commit is contained in:
parent
43733a2c3e
commit
14cc5b1565
@ -32,7 +32,7 @@ bool cmd_sync_callback(lm_ctx_t *ctx, lm_pool_t *pool, lm_ctx_sync_state_t state
|
||||
case SYNC_LIST_FAIL:
|
||||
bar_free();
|
||||
if(LM_ERR_InfoNotLoaded != lm_error())
|
||||
error(_("Failed to sync %s: %s"), pool->name, lm_strerror());
|
||||
error(_("Failed to sync "FG_BOLD"%s"FG_RESET": %s"), pool->name, lm_strerror());
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user