This commit is contained in:
Fadli 2022-08-20 23:30:51 +07:00
commit 0f6d41351c

View File

@ -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,