1
0
Fork 0

more logging

This commit is contained in:
Frank Celler 2013-04-01 23:39:23 +02:00
parent 14956d865c
commit 271cc3949d
1 changed files with 7 additions and 2 deletions

View File

@ -101,9 +101,14 @@ function buildAssetContent (app, assets) {
content = "";
for (i = 0; i < files.length; ++i) {
var c = fs.read(files[i]);
try {
var c = fs.read(files[i]);
content += c;
content += c;
}
catch (err) {
console.error("cannot read asset '%s'", files[i]);
}
}
return content;