fix: error logging for sync failure

This commit is contained in:
ngn 2024-08-07 02:12:03 +03:00
parent 43733a2c3e
commit 14cc5b1565

View File

@ -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: case SYNC_LIST_FAIL:
bar_free(); bar_free();
if(LM_ERR_InfoNotLoaded != lm_error()) 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; break;
} }