Add Request logging

This commit is contained in:
Garrett Mills 2022-03-30 22:05:46 -05:00
parent 6f66126d38
commit 3d7d583367
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@extollo/lib",
"version": "0.9.13",
"version": "0.9.14",
"description": "The framework library that lifts up your code.",
"main": "lib/index.js",
"types": "lib/index.d.ts",

View File

@ -116,6 +116,8 @@ export class HTTPServer extends Unit {
.run()
.catch(e => this.logging.error(e))*/
this.logging.info(`${extolloReq.method} ${extolloReq.path}`)
try {
await this.kernel.handle(extolloReq)
} catch (e) {