@aeriajs/http 0.0.201 → 0.0.202

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.
Files changed (2) hide show
  1. package/dist/routing.js +3 -2
  2. package/package.json +5 -5
package/dist/routing.js CHANGED
@@ -132,6 +132,7 @@ export const wrapRouteExecution = async (response, cb) => {
132
132
  result.pipe(response);
133
133
  }
134
134
  catch (err) {
135
+ console.trace(err);
135
136
  }
136
137
  return;
137
138
  }
@@ -147,8 +148,8 @@ export const wrapRouteExecution = async (response, cb) => {
147
148
  }
148
149
  return result;
149
150
  }
150
- catch (e) {
151
- console.trace(e);
151
+ catch (err) {
152
+ console.trace(err);
152
153
  if (!response.headersSent) {
153
154
  response.writeHead(HTTPStatus.InternalServerError);
154
155
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aeriajs/http",
3
3
  "type": "module",
4
- "version": "0.0.201",
4
+ "version": "0.0.202",
5
5
  "description": "## Installation",
6
6
  "main": "dist/index.js",
7
7
  "aeriaMain": "tests/fixtures/aeriaMain.js",
@@ -29,10 +29,10 @@
29
29
  "mongodb": "^6.19.0"
30
30
  },
31
31
  "peerDependencies": {
32
- "@aeriajs/common": "^0.0.162",
33
- "@aeriajs/entrypoint": "^0.0.170",
34
- "@aeriajs/types": "^0.0.137",
35
- "@aeriajs/validation": "^0.0.186",
32
+ "@aeriajs/common": "^0.0.163",
33
+ "@aeriajs/entrypoint": "^0.0.171",
34
+ "@aeriajs/types": "^0.0.138",
35
+ "@aeriajs/validation": "^0.0.187",
36
36
  "mongodb": "^6.19.0"
37
37
  },
38
38
  "scripts": {