refactor: asset v1, app.utils (#8152)

This commit is contained in:
Jason Rasmussen 2024-03-21 08:07:47 -05:00 committed by GitHub
parent 87ccba7f9d
commit 382b63954c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 518 additions and 548 deletions

View file

@ -7,9 +7,8 @@ import {
NestInterceptor,
} from '@nestjs/common';
import { Observable, catchError, throwError } from 'rxjs';
import { routeToErrorMessage } from 'src/immich/app.utils';
import { ImmichLogger } from 'src/utils/logger';
import { isConnectionAborted } from 'src/utils/misc';
import { isConnectionAborted, routeToErrorMessage } from 'src/utils/misc';
@Injectable()
export class ErrorInterceptor implements NestInterceptor {