@ccci/micro-server 0.0.25 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -78254,8 +78254,10 @@ class BaseRouter {
|
|
|
78254
78254
|
try {
|
|
78255
78255
|
console.log("GET :>> ");
|
|
78256
78256
|
response = await this.controller.find(req, res, next);
|
|
78257
|
+
console.log("GET :>> ", response);
|
|
78257
78258
|
res.status(200).json(response);
|
|
78258
78259
|
} catch (error) {
|
|
78260
|
+
console.log("error :>> ", error);
|
|
78259
78261
|
res.status(422).json(error);
|
|
78260
78262
|
}
|
|
78261
78263
|
}
|