Skip to content

Commit

Permalink
Raise exceptions in check_heartbeat
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jan 8, 2025
1 parent 2cbe456 commit 89d051c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lvmbeat/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def send_email(message: str, subject: str):
)


@fastapi_utils.tasks.repeat_every(seconds=10, logger=logger, raise_exceptions=False)
@fastapi_utils.tasks.repeat_every(seconds=10, logger=logger, raise_exceptions=True)
def check_heartbeat():
"""Checks if we have received a heartbeat from LCO or sends an alert."""

Expand Down

0 comments on commit 89d051c

Please sign in to comment.