Skip to content

Commit c2d50b8

Browse files
authored
Make upsert event payload readable in cli (#797)
1 parent 8d4a6d1 commit c2d50b8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/cli/util.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,9 @@ func getEventAttributes(e *historypb.HistoryEvent) interface{} {
371371
case enumspb.EVENT_TYPE_WORKFLOW_EXECUTION_FAILED:
372372
data = e.GetWorkflowExecutionFailedEventAttributes()
373373

374+
case enumspb.EVENT_TYPE_WORKFLOW_TASK_FAILED:
375+
data = e.GetWorkflowTaskFailedEventAttributes()
376+
374377
case enumspb.EVENT_TYPE_WORKFLOW_EXECUTION_TIMED_OUT:
375378
data = e.GetWorkflowExecutionTimedOutEventAttributes()
376379

0 commit comments

Comments
 (0)