mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 19:10:38 +02:00
reduce number of logs
some were just left in there from debugging and could be removed or set to logging.debug some others could be compacted a few errors were written to stdout instead of stderr
This commit is contained in:
@@ -118,7 +118,7 @@ module.exports = function(req, res) {
|
||||
// we render the default skins, but not custom images
|
||||
renders.draw_model(rid, buf, scale, helm, body, function(err, def_img) {
|
||||
if (err) {
|
||||
logging.log(rid + "error while rendering default image: " + err);
|
||||
logging.error(rid + "error while rendering default image: " + err);
|
||||
}
|
||||
sendimage(rid, http_status, img_status, def_img);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user