Skip to content

Commit

Permalink
update errorPrinter
Browse files Browse the repository at this point in the history
Signed-off-by: catsby <clint@ctshryock.com>
  • Loading branch information
catsby committed Sep 19, 2024
1 parent bdedfb2 commit de6040d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/message/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,5 @@ func debugPrinter(offset int, a ...any) {
}

func errorPrinter(offset int) *pterm.PrefixPrinter {
return pterm.Error.WithShowLineNumber(logLevel > 2).WithLineNumberOffset(offset)
return pterm.Error.WithShowLineNumber(logLevel <= TraceLevel).WithLineNumberOffset(offset)
}

0 comments on commit de6040d

Please sign in to comment.