summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/index.js b/lib/index.js
index d0f5e76..e87e4e6 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -113,6 +113,8 @@ site.init = function(){
size: req.file.size,
url,
})
+ }).catch(function(err){
+ console.error("db error", err)
})
}
})