Vizzuality/landgriffon

View on GitHub
api/src/filters/all-exceptions.exception.filter.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function catch has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  catch(exception: Error, host: ArgumentsHost): void {
    const ctx: HttpArgumentsHost = host.switchToHttp();
    const response: any = ctx.getResponse();
    const request: any = ctx.getRequest();

Severity: Minor
Found in api/src/filters/all-exceptions.exception.filter.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status