From 152e8db0b634170d5b37c54a96eda30af54a0661 Mon Sep 17 00:00:00 2001 From: pmahindrakar-oss <77798312+pmahindrakar-oss@users.noreply.github.com> Date: Fri, 4 Jun 2021 01:49:32 +0530 Subject: [PATCH] Added error data and abort data in get execution output (#79) Signed-off-by: Prafulla Mahindrakar --- flytectl/cmd/get/execution.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flytectl/cmd/get/execution.go b/flytectl/cmd/get/execution.go index 3f378b6c1d..e77bea6f61 100644 --- a/flytectl/cmd/get/execution.go +++ b/flytectl/cmd/get/execution.go @@ -53,6 +53,8 @@ var executionColumns = []printer.Column{ {Header: "Phase", JSONPath: "$.closure.phase"}, {Header: "Started", JSONPath: "$.closure.startedAt"}, {Header: "Elapsed Time", JSONPath: "$.closure.duration"}, + {Header: "Abort data", JSONPath: "$.closure.abortMetadata[\"cause\"]"}, + {Header: "Error data", JSONPath: "$.closure.error[\"message\"]"}, } func ExecutionToProtoMessages(l []*admin.Execution) []proto.Message {