fix yd delivery address update api

This commit is contained in:
omair saleh
2022-01-27 13:08:57 +08:00
parent 402556d51b
commit ada8117bd1
@@ -8,6 +8,7 @@ use App\Classes\Modules\Addresses\Services\FetchesAddress;
use App\Classes\ValueObjects\Constants\ApprovalStatus;
use App\Classes\ValueObjects\Constants\PackingListType;
use Illuminate\Support\Facades\Log;
class UpdateDoFromYDPortalProcessor
{
@@ -78,6 +79,7 @@ class UpdateDoFromYDPortalProcessor
}
} catch (\Exception $exception){
Log::error($exception);
throw new InternalServerErrorException('failed to approve address due to an error related to YD portal');
}
}