@konplit-services/common 1.0.337 → 1.0.338

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.
@@ -42,6 +42,7 @@ const errorHandler = (err, req, res, next) => {
42
42
  //@ts-ignore
43
43
  if (err instanceof SyntaxError && err.status === 400 && "body" in err) {
44
44
  // Handle JSON parsing error
45
+ console.log(err);
45
46
  return res.status(400).send({
46
47
  status: helper_1.Status.Failed,
47
48
  errors: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konplit-services/common",
3
- "version": "1.0.337",
3
+ "version": "1.0.338",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",