Skip to content

Commit

Permalink
uncomment the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abuchanan-airbyte committed Nov 12, 2024
1 parent efedec6 commit 0bddcf4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions internal/cmd/local/local/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,11 @@ func (c *Command) diagnoseAirbyteChartFailure(ctx context.Context, chartErr erro
if err != nil {
msg = "unknown: failed to get pod logs."
}

preview := logs
// if len(preview) > 50 {
// preview = preview[:50]
// }
if len(preview) > 50 {
preview = preview[:50]
}
pterm.Debug.Println("found logs: ", preview)

trace.AttachLog(fmt.Sprintf("%s.log", pod.Name), logs)
Expand Down

0 comments on commit 0bddcf4

Please sign in to comment.