api/src/filters/all-exceptions.exception.filter.ts
Function catch
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
catch(exception: Error, host: ArgumentsHost): void {
const ctx: HttpArgumentsHost = host.switchToHttp();
const response: any = ctx.getResponse();
const request: any = ctx.getRequest();