feat(observability): add exception filter, logging interceptor, and CodeExecutorModule

- add HttpExceptionFilter logging BadRequestException at warn and InternalServerErrorException at error with cause chain
- add LoggingInterceptor logging request/response pairs at debug level with method, path, body, status, and duration
- extract CodeExecutorService into standalone CodeExecutorModule imported by BrowserModule and McpModule
- thread { cause: err } into all catch blocks across auth, browser, and code-executor services
This commit is contained in:
ars9 committed 2026-04-07 13:49:02 +03:00
1 parent bf1b6249a9
commit 5ac26ecb3a
13 files changed
+168 -19

No files matched your search

@@ -0,0 +1,8 @@
import { Module } from '@nestjs/common';
import { CodeExecutorService } from './code-executor.service';
@Module({
providers: [CodeExecutorService],
exports: [CodeExecutorService],
})
export class CodeExecutorModule {}