Merge pull request #6651 from dolthub/steph/log-fix

fixes log panic
This commit is contained in:
stephanie
2023-09-12 14:14:31 -07:00
committed by GitHub
+2 -1
View File
@@ -102,7 +102,8 @@ func (cmd LogCmd) logWithLoggerFunc(ctx context.Context, commandStr string, args
queryist, sqlCtx, closeFunc, err := cliCtx.QueryEngine(ctx)
if err != nil {
handleErrAndExit(err)
cli.PrintErrln(err)
return 1
}
if closeFunc != nil {
defer closeFunc()