Explorar o código

console.debug

jomo %!s(int64=11) %!d(string=hai) anos
pai
achega
a6ff10493d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/helpers.js

+ 1 - 1
modules/helpers.js

@@ -189,7 +189,7 @@ exp.get_render = function(uuid, scale, helm, body, callback) {
         callback(err, -1, hash, null);
         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";
       if (fs.existsSync(renderpath)) {
         renders.open_render(renderpath, function(err, img) {