Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed May 13, 2024
1 parent ad65d75 commit 429bdb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/src/backend/views/PipelineLocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ def post(self, request, group_id, pipeline_id):
)
)

# TODO catch the specific error thrown by the group service
except (DatabaseError, IntegrityError, OperationalError) as e:
logger.exception(e.__cause__)
return ServerError(message=e.__cause__)
Expand Down Expand Up @@ -196,6 +195,8 @@ def get(self, request, group_id, pipeline_id, pipeline_lock_uuid=None, *_, **__
# locks for this pipeline
if pipeline_lock_uuid == None:
return self.list(pipeline)

print(pipeline.pipelinelocks)

lock_model = next(
filter(
Expand Down

0 comments on commit 429bdb5

Please sign in to comment.