@punks/backend-entity-manager 0.0.69 → 0.0.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Log, sort, byField, toDict, newUuid as newUuid$1, removeUndefinedProps } from '@punks/backend-core';
2
- import { applyDecorators, Injectable, SetMetadata, Global, Module, Scope, Logger, HttpStatus, HttpException } from '@nestjs/common';
2
+ import { applyDecorators, Injectable, SetMetadata, Global, Module, Scope, Logger, HttpException, HttpStatus } from '@nestjs/common';
3
3
  import { ApiProperty } from '@nestjs/swagger';
4
4
  import { Reflector } from '@nestjs/core';
5
5
  import { AsyncLocalStorage } from 'async_hooks';
@@ -20395,6 +20395,9 @@ class NestTypeOrmEntitySeeder extends TypeOrmEntitySeeder {
20395
20395
 
20396
20396
  class AppExceptionsFilterBase {
20397
20397
  catch(exception, host) {
20398
+ if (exception instanceof HttpException) {
20399
+ return;
20400
+ }
20398
20401
  const ctx = host.switchToHttp();
20399
20402
  const response = ctx.getResponse();
20400
20403
  const request = ctx.getRequest();