Commit a9e49577 authored by Stephan's avatar Stephan Committed by ǝɹʇʇɐʃǝ◖ xıʃǝɟ
Browse files

include details in error log message

Be a bit more verbose in case of errors, to make finding the root cause easier
parent 891ed80a
......@@ -318,8 +318,8 @@ static int request_tile(request_rec *r, struct protocol *cmd, int renderImmediat
ret = recv(fd, &resp, sizeof(struct protocol_v2), 0);
if (ret != sizeof(struct protocol_v2)) {
ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, "request_tile: Failed to read response from rendering socket %s",
strerror(errno));
ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, "request_tile: Failed to read response from rendering socket. Got %d bytes but expected %d. Errno %d (%s)",
ret, sizeof(struct protocol_v2), errno, strerror(errno));
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment