Skip to content

Commit

Permalink
Merge branch 'main' into 982-feat-add-workflow-last-update-time
Browse files Browse the repository at this point in the history
  • Loading branch information
pehlicd authored Mar 21, 2024
2 parents d20b58a + 0412091 commit 2eab37a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keep/api/routes/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ async def __get_workflow_raw_data(request: Request, file: UploadFile) -> dict:
workflow_data = workflow_data.pop("workflow")

except yaml.YAMLError:
logger.exception("Invalid YAML format")
raise HTTPException(status_code=400, detail="Invalid YAML format")
return workflow_data

Expand Down

0 comments on commit 2eab37a

Please sign in to comment.