don't crash if file doesn't exist
This commit is contained in:
parent
d58d8ea0bd
commit
3f5420d437
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue