- push logs for price not found

This commit is contained in:
Fadli 2022-08-20 23:29:32 +07:00
parent fc35203f24
commit 4737ae9f3a

View File

@ -69,6 +69,7 @@ export class ProductHistoryPriceService {
}); });
} catch (e) { } catch (e) {
if (e instanceof EntityNotFoundError) { if (e instanceof EntityNotFoundError) {
console.log("pricenotfound1", "msk")
throw new HttpException( throw new HttpException(
{ {
statusCode: HttpStatus.NOT_FOUND, statusCode: HttpStatus.NOT_FOUND,
@ -92,6 +93,7 @@ export class ProductHistoryPriceService {
}); });
} catch (e) { } catch (e) {
if (e instanceof EntityNotFoundError) { if (e instanceof EntityNotFoundError) {
console.log("pricenotfound2", "msk")
throw new HttpException( throw new HttpException(
{ {
statusCode: HttpStatus.NOT_FOUND, statusCode: HttpStatus.NOT_FOUND,