From 78019674a28cdc3ac30f3049a5935d95a9e5d668 Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Thu, 28 Nov 2019 12:00:47 -0500 Subject: [PATCH] Render email_sent events in flowrunner --- cmd/flowrunner/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/flowrunner/main.go b/cmd/flowrunner/main.go index 4ad42fc0f..39f1b55dc 100644 --- a/cmd/flowrunner/main.go +++ b/cmd/flowrunner/main.go @@ -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: