Skip to content

Commit

Permalink
Merge pull request #846 from DalgoT4D/change-log-message
Browse files Browse the repository at this point in the history
Changed log message to stop Loki alarms
  • Loading branch information
fatchat authored Aug 31, 2024
2 parents 4dbbeed + 0f198f8 commit 50374a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ddpui/api/webhook_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from ninja import NinjaAPI

from ninja.errors import HttpError
from django.db import models
from ddpui.utils.custom_logger import CustomLogger
from ddpui.ddpprefect import prefect_service
from ddpui.models.tasks import TaskLock
Expand Down Expand Up @@ -186,7 +185,7 @@ def lock_tasks_for_pending_deployment(deployment_id):
try:
locks = prefect_service.lock_tasks_for_deployment(deployment_id, system_user)
except HttpError:
logger.info("failed to lock tasks for deployment %s, ignoring", deployment_id)
logger.info("unable to lock tasks for deployment %s, ignoring", deployment_id)

return locks

Expand Down

0 comments on commit 50374a0

Please sign in to comment.