|
|
@ -389,8 +389,12 @@ class ParkingSpaceController extends BaseController |
|
|
$end_time |
|
|
$end_time |
|
|
); |
|
|
); |
|
|
return $this->responseService->success('', __('admin.save_succeeded')); |
|
|
return $this->responseService->success('', __('admin.save_succeeded')); |
|
|
} catch (ValidationException|CustomException $e) { |
|
|
} catch (ValidationException $e) { |
|
|
throw $e; |
|
|
throw $e; |
|
|
|
|
|
} catch (CustomException $e) { |
|
|
|
|
|
return $this->responseService->systemError( |
|
|
|
|
|
$e->getMessage() |
|
|
|
|
|
); |
|
|
} catch (Exception $e) { |
|
|
} catch (Exception $e) { |
|
|
$m_prefix = __('exception.exception_handler.resource'); |
|
|
$m_prefix = __('exception.exception_handler.resource'); |
|
|
return $this->responseService->systemError( |
|
|
return $this->responseService->systemError( |
|
|
|