MM-22372: fix unhandled exception when exporting to CSV. (#13864)

* MM-23272: fix unhandled exception

* MM-22372: removed extra log command

* MM-22372: fix merge conflict
This commit is contained in:
catalintomai
2020-02-18 09:59:44 -08:00
committed by GitHub
parent fdb339fbd7
commit 2ec03766a2

View File

@@ -153,7 +153,7 @@ func buildExportCmdF(format string) func(command *cobra.Command, args []string)
}
if a.MessageExport() == nil {
CommandPrettyPrintln("MessageExport feature not available")
return errors.New("message export feature not available")
}
err2 := a.MessageExport().RunExport(format, startTime)