mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
console.debug
This commit is contained in:
parent
ca67afd9ec
commit
a6ff10493d
@ -189,7 +189,7 @@ exp.get_render = function(uuid, scale, helm, body, callback) {
|
|||||||
callback(err, -1, hash, null);
|
callback(err, -1, hash, null);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log("TYPE: " + get_type(helm, body));
|
logging.debug("TYPE: " + get_type(helm, body));
|
||||||
var renderpath = __dirname + "/../" + config.renders_dir + hash + "-" + scale + "-" + get_type(helm, body) + ".png";
|
var renderpath = __dirname + "/../" + config.renders_dir + hash + "-" + scale + "-" + get_type(helm, body) + ".png";
|
||||||
if (fs.existsSync(renderpath)) {
|
if (fs.existsSync(renderpath)) {
|
||||||
renders.open_render(renderpath, function(err, img) {
|
renders.open_render(renderpath, function(err, img) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user