Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kikkomep committed May 5, 2023
1 parent 819754c commit d58c3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lifemonitor/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def is_service_alive(url: str, timeout: Optional[int] = None) -> bool:

def assert_service_is_alive(url: str, timeout: Optional[int] = None):
if not is_service_alive(url, timeout=timeout):
raise lm_exceptions.ServiceNotAvailableException(detail=f"Service not available: {url}", service=url)
raise lm_exceptions.UnavailableServiceException(detail=f"Service not available: {url}", service=url)


def get_last_update(path: str):
Expand Down

0 comments on commit d58c3a2

Please sign in to comment.