aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/httpserver.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/httpserver.lua b/net/httpserver.lua
index d401f47c..33ced072 100644
--- a/net/httpserver.lua
+++ b/net/httpserver.lua
@@ -122,6 +122,7 @@ local function request_reader(request, data, startpos)
call_callback(request);
end
local function error_cb(r)
+ log("error", "Error in HTTP server handler: %s", r or "connection-closed");
call_callback(request, r or "connection-closed");
destroy_request(request);
end