X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/cdc6b2f8e7a8d43dcfe0475a9d3498333ea686b8..af2e75616d1bfb7dc79d299d10ae0bd39bef47bc:/cgit.c diff --git a/cgit.c b/cgit.c index 2036ceb..ac882c3 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) - cache_log("[cgit] error %d - %s\n", - err, strerror(err)); + cgit_print_error(fmt("Error processing page: %s (%d)", + strerror(err), err)); return err; }