dygapp 7 lat temu
rodzic
commit
115034ee5f
1 zmienionych plików z 7 dodań i 1 usunięć
  1. 7 1
      config/config.default.js

+ 7 - 1
config/config.default.js

@@ -7,7 +7,13 @@ module.exports = appInfo => {
   config.keys = appInfo.name + '_1517455121740_7922';
 
   // add your config here
-  config.middleware = [];
+  // config.middleware = [];
+  config.errorMongo = {
+    details: true,
+  };
+  config.errorHanler = {
+    details: true,
+  };
 
   // mongoose config
   config.mongoose = {