Skip to content

Commit

Permalink
Render email_sent events in flowrunner
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Nov 28, 2019
1 parent a23f980 commit 7801967
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/flowrunner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ func printEvents(log []flows.Event, out io.Writer) {
msg = "👤 contact refreshed on resume"
case *events.ContactTimezoneChangedEvent:
msg = fmt.Sprintf("🕑 timezone changed to '%s'", typed.Timezone)
case *events.EmailSentEvent:
msg = fmt.Sprintf("✉️ email sent with subject '%s'", typed.Subject)
case *events.EnvironmentRefreshedEvent:
msg = "⚙️ environment refreshed on resume"
case *events.ErrorEvent:
Expand Down

0 comments on commit 7801967

Please sign in to comment.