Skip to content

Commit

Permalink
fix logging.Error statement
Browse files Browse the repository at this point in the history
  • Loading branch information
craftamap committed Jun 17, 2021
1 parent 7131a69 commit fe9ca1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/logging/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func Debugf(message ...interface{}) {
}

func Error(message ...interface{}) {
fmt.Printf("%s%s%s\n", aurora.Red(":: "), aurora.Bold("An error occurred: "), message)
fmt.Printf("%s%s%s\n", aurora.Red(":: "), aurora.Bold("An error occurred: "), fmt.Sprint(message...))
}

func Warning(message ...interface{}) {
Expand Down

0 comments on commit fe9ca1b

Please # to comment.