Skip to content

Dev#5

Open
Dev22603 wants to merge 6 commits into
mainfrom
dev
Open

Dev#5
Dev22603 wants to merge 6 commits into
mainfrom
dev

Conversation

@Dev22603
Copy link
Copy Markdown
Owner

No description provided.

Dev22603 added 6 commits May 20, 2026 22:33
Wrapped every controller, service, repository, and middleware in try/catch with crisplogs logger using layer-specific tags. Every non-ApiError now logs the error message and stack trace with relevant operation params. Added Express error handler in app.ts for unhandled exceptions.
- Installs and configures `crisplogs` as the centralized logger.
- Integrates structured logging into all repository methods for database error tracing.
- Implements error logging in all services while ignoring standard `ApiError` business exceptions to avoid noise.
- Updates controllers and global error handling middleware to capture and log unexpected server errors with full stack traces.
- Adds request logger middleware for HTTP request tracing and status code-based level selection.
- Cleans up existing logger imports and adds warnings for authorization/upload rejections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant