From 3f5420d4379ffcbcfc27eecd465016e6865eddd6 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Mon, 8 Jan 2018 14:34:56 -0500 Subject: [PATCH] don't crash if file doesn't exist --- server/migrations/s3UnderUser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/migrations/s3UnderUser.js b/server/migrations/s3UnderUser.js index fe8a3ab9..85144093 100644 --- a/server/migrations/s3UnderUser.js +++ b/server/migrations/s3UnderUser.js @@ -66,7 +66,7 @@ Project.count({}).exec().then((numProjects) => { }); } catch(e) { console.log(e); - fileCb(e); + fileCb(); } } else { fileCb();