don't crash if file doesn't exist

This commit is contained in:
Cassie Tarakajian 2018-01-08 14:34:56 -05:00
parent d58d8ea0bd
commit 3f5420d437

View file

@ -66,7 +66,7 @@ Project.count({}).exec().then((numProjects) => {
}); });
} catch(e) { } catch(e) {
console.log(e); console.log(e);
fileCb(e); fileCb();
} }
} else { } else {
fileCb(); fileCb();