Skip to content

Commit

Permalink
reset log colors so main CLI error can be easily separated from the d…
Browse files Browse the repository at this point in the history
…ifferent (#2330)

node error logs
  • Loading branch information
felipemadero authored Nov 13, 2024
1 parent 27a7611 commit 96046e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/subnet/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"strings"

"github.com/ava-labs/avalanche-cli/pkg/ux"
"github.com/ava-labs/avalanchego/utils/logging"
)

const (
Expand Down Expand Up @@ -97,7 +98,8 @@ func FindErrorLogs(rootDirs ...string) {
})
}
if len(foundErrors) > 0 {
ux.Logger.PrintToUser("================!!! end of errors in logs !!! ========================")
ux.Logger.PrintToUser(logging.Reset.Wrap("================!!! end of errors in logs !!! ========================"))
ux.Logger.PrintToUser("")
}
}

Expand Down

0 comments on commit 96046e3

Please sign in to comment.