Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Nov 7, 2024
1 parent 0d1b0a9 commit dc9a9f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/api/src/backend/services/PipelineDispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from backend.services.MessageBroker import service as broker
from backend.models import Pipeline, PipelineRun, RUN_STATUS_SUBMITTED
from backend.errors.api import ServerError
from pprint import pprint


class PipelineDispatcher:
Expand Down Expand Up @@ -50,6 +51,8 @@ def dispatch(self, service_request: dict, pipeline, pipeline_run=None):
logger.exception(e.__cause__)
raise ServerError(message=str(e))


pprint(service_request)
try:
broker.publish(
"workflows",
Expand Down

0 comments on commit dc9a9f7

Please sign in to comment.