Browse Source

errors log added

bob
BOBINOSCOPE 10 years ago
parent
commit
1ca685a91d
1 changed files with 2 additions and 2 deletions
  1. 4
      tools/tools-photobooth.js

4
tools/tools-photobooth.js

@ -108,7 +108,7 @@ module.exports = function(pConfig) {
function BOB_updateConfig() {
BOB_mod_fs.readdir(BOB_cfg_config.paths.template, function(pErr, pFiles) {
if( pErr ) {
console.log(pErr);
console.log("BOB_updateConfig", "Path:", BOB_cfg_config.paths.template, pErr);
} else {
BOB_mod_async.map(pFiles,
function(pFile, pCb) {
@ -124,7 +124,7 @@ function BOB_updateConfig() {
// Get reslution of current template
BOB_mod_gm(BOB_cfg_config.booths[boothName].template).size(function(pErr, pValue){
if( pErr ) {
console.log(pErr);
console.log("[ERROR] Get template size", pErr);
} else {
BOB_cfg_config.booths[boothName].resolution = pValue;
BOB_generatePictLayout(boothName);

Loading…
Cancel
Save