diff --git a/app/Services/ParkingSpaceService.php b/app/Services/ParkingSpaceService.php index 83cf637..de89542 100644 --- a/app/Services/ParkingSpaceService.php +++ b/app/Services/ParkingSpaceService.php @@ -399,7 +399,7 @@ class ParkingSpaceService extends BaseService ); DB::commit(); return $model; - } catch (Exception $e) { + } catch (Exception|CustomException $e) { DB::rollBack(); throw $e; }