Skip to content

Commit

Permalink
Skipping warning for API deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
chandrasekharan-zipstack committed Jun 11, 2024
1 parent 458a294 commit 5db633d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions backend/workflow_manager/workflow/workflow_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,12 @@ def _update_pipeline_status(
pipeline_id, Pipeline.PipelineStatus.FAILURE
)
except Exception as e:
logger.warning(
f"Error updating pipeline {pipeline_id} status: {e}",
f", workflow execution: {workflow_execution}",
)
# Expected exception since API deployments are not tracked in Pipeline
if "Pipeline matching query does not exist" not in str(e):
logger.warning(
f"Error updating pipeline {pipeline_id} status: {e} ",
f"with workflow execution: {workflow_execution}",
)

@staticmethod
def get_status_of_async_task(
Expand Down

0 comments on commit 5db633d

Please sign in to comment.