Commit Graph
2309 Commits
Author SHA1 Message Date
Hüseyin Berke Bütün bd9041a62c feat: Add central error handler
Added:
- Added Midleware to capture and handle all errors
    - will catch error from `throw ...` and `next(...)`
- Added RequestError base error class to build consistent error objects
- Added common errors like `UnauthorizedRequestError`, `BadRequestError`
- Added consistent Logging solution using `winston`
    - Supports Loki Transporter using `winston-loki`
- Outputing Legal disclaimer to console when `TELEMETRY_ENABLED=true`

Changed:
- Changed console.log to getLogger() favor of using consistent logging
2022-12-22 00:55:41 +01:00
Reginald Bondoc a3609b9b6f Align with comments 2022-12-21 20:32:38 +01:00
Reginald Bondoc bd207dc65f Merge branch 'main' of github.com:reginaldbondoc/infisical 2022-12-20 01:04:33 +01:00
Reginald Bondoc fc906e7dc7 Setup test, break apart entrypoint, & align GHA workflow 2022-12-20 00:56:53 +01:00
Tuan Dang 6c7d232a9e Fix merge conflicts for index 2022-12-15 15:31:14 -05:00
Tuan Dang f3900213b5 Add telemetry output at backend container start 2022-12-13 21:59:12 -05:00
Tuan Dang 1757f0d690 Complete v1 loop for bot-based integrations 2022-12-08 23:22:44 -05:00
Tuan Dang 46fe724012 Begin developing bot, event, and integration pipeline 2022-12-06 00:23:16 -05:00
Tuan Dang 7e4b38a2f1 Add opt-out backend telemetry and fix dev compose frontend envars 2022-11-23 19:25:48 -05:00