Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Robi9 committed Oct 5, 2023
1 parent 874e53e commit 0581243
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flows/engine/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -672,9 +672,12 @@ func (s *session) MarshalJSON() ([]byte, error) {

if s.trigger != nil {
fmt.Println("ENTROU na TRIGGER")
fmt.Println(s.trigger)
if e.Trigger, err = jsonx.Marshal(s.trigger); err != nil {
fmt.Println("erro")
return nil, err
}
fmt.Println("SAIU da TRIGGER")
}
if s.wait != nil {
fmt.Println("ENTROU no WAIT")
Expand Down

0 comments on commit 0581243

Please sign in to comment.