This commit is contained in:
Fadli 2022-08-20 23:41:59 +07:00
commit 5b298f39eb

View File

@ -70,6 +70,8 @@ export class ProductHistoryPriceService {
} catch (e) { } catch (e) {
if (e instanceof EntityNotFoundError) { if (e instanceof EntityNotFoundError) {
console.log("pricenotfound1", "msk") console.log("pricenotfound1", "msk")
console.log("pricenotfound1product", product)
console.log("pricenotfound1partner", partner)
throw new HttpException( throw new HttpException(
{ {
statusCode: HttpStatus.NOT_FOUND, statusCode: HttpStatus.NOT_FOUND,