mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
don't warn about closed connections
This commit is contained in:
parent
8e08e02272
commit
16948de18d
@ -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] || "-") + ")");
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user