-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(logger): logger should display the right status code in case of error #1194
Conversation
@@ -47,8 +47,8 @@ export enum HttpCode { | |||
|
|||
export enum RouteType { | |||
// Changing the values of this enum changes the order in which routes are loaded into koa-router. | |||
ErrorHandler = 0, | |||
LoggerHandler = 1, | |||
LoggerHandler = 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The previous order prevent to have the proper status since it's handled by the ErrorHandler.
Code Climate has analyzed commit 5b996d2 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (98% is the threshold). This pull request will bring the total coverage in the repository to 97.5% (0.0% change). View more on Code Climate. |
## [1.11.6](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.11.5...example@1.11.6) (2024-10-15) ### Bug Fixes * **logger:** logger should display the right status code in case of error ([#1194](#1194)) ([d328764](d328764)) * **security:** patch cookie dependency vulnerabilities ([#1193](#1193)) ([1fd3669](1fd3669))
## [1.50.3](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.50.2...@forestadmin/agent@1.50.3) (2024-10-15) ### Bug Fixes * **logger:** logger should display the right status code in case of error ([#1194](#1194)) ([d328764](d328764)) * **security:** patch cookie dependency vulnerabilities ([#1193](#1193)) ([1fd3669](1fd3669))
🎉 This PR is included in version 1.11.26 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.11.6 🎉 The release is available on Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.50.3 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.1.8 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
## [1.55.2](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-customizer@1.55.1...@forestadmin/datasource-customizer@1.55.2) (2024-10-18) ### Bug Fixes * fix excel export type ([#1195](#1195)) ([ac7f7d9](ac7f7d9)) * **logger:** logger should display the right status code in case of error ([#1194](#1194)) ([d328764](d328764)) * **security:** patch cookie dependency vulnerabilities ([#1193](#1193)) ([1fd3669](1fd3669)) ### Features * add caller ip in action context.caller.request.ip ([#1196](#1196)) ([25aa5b8](25aa5b8))
## [1.1.37](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-dummy@1.1.36...@forestadmin/datasource-dummy@1.1.37) (2024-10-18) ### Bug Fixes * fix excel export type ([#1195](#1195)) ([ac7f7d9](ac7f7d9)) * **logger:** logger should display the right status code in case of error ([#1194](#1194)) ([d328764](d328764)) * **security:** patch cookie dependency vulnerabilities ([#1193](#1193)) ([1fd3669](1fd3669)) ### Features * add caller ip in action context.caller.request.ip ([#1196](#1196)) ([25aa5b8](25aa5b8))
## [1.3.25](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-mongo@1.3.24...@forestadmin/datasource-mongo@1.3.25) (2024-10-18) ### Bug Fixes * fix excel export type ([#1195](#1195)) ([ac7f7d9](ac7f7d9)) * **logger:** logger should display the right status code in case of error ([#1194](#1194)) ([d328764](d328764)) * **security:** patch cookie dependency vulnerabilities ([#1193](#1193)) ([1fd3669](1fd3669)) ### Features * add caller ip in action context.caller.request.ip ([#1196](#1196)) ([25aa5b8](25aa5b8))
## [1.8.5](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-mongoose@1.8.4...@forestadmin/datasource-mongoose@1.8.5) (2024-10-18) ### Bug Fixes * fix excel export type ([#1195](#1195)) ([ac7f7d9](ac7f7d9)) * **logger:** logger should display the right status code in case of error ([#1194](#1194)) ([d328764](d328764)) * **security:** patch cookie dependency vulnerabilities ([#1193](#1193)) ([1fd3669](1fd3669)) ### Features * add caller ip in action context.caller.request.ip ([#1196](#1196)) ([25aa5b8](25aa5b8))
# [1.5.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-replica@1.4.5...@forestadmin/datasource-replica@1.5.0) (2024-10-18) ### Bug Fixes * fix excel export type ([#1195](#1195)) ([ac7f7d9](ac7f7d9)) * **logger:** logger should display the right status code in case of error ([#1194](#1194)) ([d328764](d328764)) * **security:** patch cookie dependency vulnerabilities ([#1193](#1193)) ([1fd3669](1fd3669)) ### Features * add caller ip in action context.caller.request.ip ([#1196](#1196)) ([25aa5b8](25aa5b8))
## [1.10.5](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-sequelize@1.10.4...@forestadmin/datasource-sequelize@1.10.5) (2024-10-18) ### Bug Fixes * fix excel export type ([#1195](#1195)) ([ac7f7d9](ac7f7d9)) * **logger:** logger should display the right status code in case of error ([#1194](#1194)) ([d328764](d328764)) * **security:** patch cookie dependency vulnerabilities ([#1193](#1193)) ([1fd3669](1fd3669)) ### Features * add caller ip in action context.caller.request.ip ([#1196](#1196)) ([25aa5b8](25aa5b8))
## [1.14.31](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-sql@1.14.30...@forestadmin/datasource-sql@1.14.31) (2024-10-18) ### Bug Fixes * fix excel export type ([#1195](#1195)) ([ac7f7d9](ac7f7d9)) * **logger:** logger should display the right status code in case of error ([#1194](#1194)) ([d328764](d328764)) * **security:** patch cookie dependency vulnerabilities ([#1193](#1193)) ([1fd3669](1fd3669)) ### Features * add caller ip in action context.caller.request.ip ([#1196](#1196)) ([25aa5b8](25aa5b8))
# [1.43.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-toolkit@1.42.1...@forestadmin/datasource-toolkit@1.43.0) (2024-10-18) ### Bug Fixes * fix excel export type ([#1195](#1195)) ([ac7f7d9](ac7f7d9)) * **logger:** logger should display the right status code in case of error ([#1194](#1194)) ([d328764](d328764)) * **security:** patch cookie dependency vulnerabilities ([#1193](#1193)) ([1fd3669](1fd3669)) ### Features * add caller ip in action context.caller.request.ip ([#1196](#1196)) ([25aa5b8](25aa5b8))
## [1.34.2](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/forestadmin-client@1.34.1...@forestadmin/forestadmin-client@1.34.2) (2024-10-18) ### Bug Fixes * fix excel export type ([#1195](#1195)) ([ac7f7d9](ac7f7d9)) * **logger:** logger should display the right status code in case of error ([#1194](#1194)) ([d328764](d328764)) * **security:** patch cookie dependency vulnerabilities ([#1193](#1193)) ([1fd3669](1fd3669)) ### Features * add caller ip in action context.caller.request.ip ([#1196](#1196)) ([25aa5b8](25aa5b8))
## [1.4.5](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-aws-s3@1.4.4...@forestadmin/plugin-aws-s3@1.4.5) (2024-10-18) ### Bug Fixes * fix excel export type ([#1195](#1195)) ([ac7f7d9](ac7f7d9)) * **logger:** logger should display the right status code in case of error ([#1194](#1194)) ([d328764](d328764)) * **security:** patch cookie dependency vulnerabilities ([#1193](#1193)) ([1fd3669](1fd3669)) ### Features * add caller ip in action context.caller.request.ip ([#1196](#1196)) ([25aa5b8](25aa5b8))
## [1.3.5](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-flattener@1.3.4...@forestadmin/plugin-flattener@1.3.5) (2024-10-18) ### Bug Fixes * fix excel export type ([#1195](#1195)) ([ac7f7d9](ac7f7d9)) * **logger:** logger should display the right status code in case of error ([#1194](#1194)) ([d328764](d328764)) * **security:** patch cookie dependency vulnerabilities ([#1193](#1193)) ([1fd3669](1fd3669)) ### Features * add caller ip in action context.caller.request.ip ([#1196](#1196)) ([25aa5b8](25aa5b8))
🎉 This PR is included in version 1.55.2 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.1.37 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.3.25 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.8.5 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.5.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.10.5 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.14.31 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.43.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.34.2 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.4.5 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.3.5 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
…
Definition of Done
General
Security