Skip to content

Commit

Permalink
ADD dump info for flow action create.
Browse files Browse the repository at this point in the history
ADD dump info for flow action create.
  • Loading branch information
karminski committed Jan 23, 2024
1 parent 12d553a commit 6581bd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controller/flow_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ func (controller *Controller) CreateFlowAction(c *gin.Context) {
controller.FeedbackBadRequest(c, ERROR_FLAG_PARSE_REQUEST_BODY_FAILED, "parse request body error: "+err.Error())
return
}
fmt.Printf("createFlowActionRequest: %+v\n", createFlowActionRequest)

// append remote virtual resource (like aiagent, but the transformet is local virtual resource)
if createFlowActionRequest.IsRemoteVirtualAction() {
Expand All @@ -76,6 +77,7 @@ func (controller *Controller) CreateFlowAction(c *gin.Context) {
controller.FeedbackBadRequest(c, ERROR_FLAG_CAN_NOT_CREATE_FLOW_ACTION, "error in create flowAction instance: "+errorInNewAction.Error())
return
}
fmt.Printf("flowAction: %+v\n", flowAction)

// validate flowAction options
errInValidateActionOptions := controller.ValidateFlowActionTemplate(c, flowAction)
Expand Down

0 comments on commit 6581bd3

Please sign in to comment.