From e1acf4b7803eaa75a389915d16a482be40d2a6a2 Mon Sep 17 00:00:00 2001 From: andreagerino Date: Fri, 27 Nov 2015 18:40:21 +0100 Subject: [PATCH] ... --- routes/storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/storage.js b/routes/storage.js index b3f4c79..0da21d2 100644 --- a/routes/storage.js +++ b/routes/storage.js @@ -61,7 +61,7 @@ router.post('/', function(req, res, next){ var error = new Error("You can't store an empty resource!"); error.status = 400; - debug(err); + debug(error); next(error); } -- 2.18.1