From 9dc6c5385f84f8453c77ac3ff960608061d26e38 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Thu, 11 Apr 2019 12:55:16 +0200 Subject: [PATCH] Added debug --- middleware/VegetableTypes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/middleware/VegetableTypes.js b/middleware/VegetableTypes.js index 749b82a..6ad6c10 100644 --- a/middleware/VegetableTypes.js +++ b/middleware/VegetableTypes.js @@ -44,6 +44,7 @@ class VegetableTypes { callback(null, { count: items.count, rows: res }) }) .catch((e) => { + console.log('ERR:', e) callback(e, null) }) }