1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-15 10:07:07 +01:00

Start moving logging out of core.

This commit is contained in:
hacksalot
2016-01-09 13:58:47 -05:00
parent d77b484e55
commit 732bc9809a
8 changed files with 263 additions and 91 deletions

View File

@ -169,6 +169,7 @@ Definition of the TemplateGenerator class. TODO: Refactor
{ outputFile: fileName, mk: file.data, opts: that.opts } );
}
catch(ex) {
console.log(ex);
require('../core/error-handler').err(ex, false);
}
}
@ -179,6 +180,7 @@ Definition of the TemplateGenerator class. TODO: Refactor
FS.copySync( file.info.path, thisFilePath );
}
catch(ex) {
console.log('B');
ex.showStack = true;
require('../core/error-handler').err( ex );
}