mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
don't warn about closed connections
This commit is contained in:
@@ -36,10 +36,6 @@ module.exports = function(request, response, result) {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
};
|
||||
|
||||
response.on("close", function() {
|
||||
logging.warn(request.id, "Connection closed");
|
||||
});
|
||||
|
||||
response.on("finish", function() {
|
||||
logging.log(request.id, request.method, request.url.href, response.statusCode, headers["Response-Time"] + "ms", "(" + (human_status[result.status] || "-") + ")");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user