aboutsummaryrefslogtreecommitdiff
path: root/cgit.c
diff refs
from:
to:
flip
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgit.c b/cgit.c
index ac882c3..2036ceb 100644
--- a/cgit.c
+++ b/cgit.c
@@ -380,7 +380,7 @@ int main(int argc, const char **argv)
err = cache_process(ctx.cfg.cache_size, ctx.cfg.cache_root,
ctx.qry.raw, ttl, process_request, &ctx);
if (err)
- cgit_print_error(fmt("Error processing page: %s (%d)",
- strerror(err), err));
+ cache_log("[cgit] error %d - %s\n",
+ err, strerror(err));
return err;
}