From 4737ae9f3a288576b6c7e5719f300ae29bd4ef57 Mon Sep 17 00:00:00 2001 From: Fadli Date: Sat, 20 Aug 2022 23:29:32 +0700 Subject: [PATCH] - push logs for price not found --- src/product/history-price/history-price.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/product/history-price/history-price.service.ts b/src/product/history-price/history-price.service.ts index 1a48c96..bba9fd4 100644 --- a/src/product/history-price/history-price.service.ts +++ b/src/product/history-price/history-price.service.ts @@ -69,6 +69,7 @@ export class ProductHistoryPriceService { }); } catch (e) { if (e instanceof EntityNotFoundError) { + console.log("pricenotfound1", "msk") throw new HttpException( { statusCode: HttpStatus.NOT_FOUND, @@ -92,6 +93,7 @@ export class ProductHistoryPriceService { }); } catch (e) { if (e instanceof EntityNotFoundError) { + console.log("pricenotfound2", "msk") throw new HttpException( { statusCode: HttpStatus.NOT_FOUND,