Skip to content

Commit

Permalink
🎨new line ending error log
Browse files Browse the repository at this point in the history
  • Loading branch information
bouroo committed Jan 8, 2023
1 parent 1dcdbf4 commit 1559fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func (e *Error) Error() (errStr string) {
}

func (e *Error) Log() {
log.Printf("source: %+s \nerr: %+s", e.Source, e.Message)
log.Printf("source: %+s \nerr: %+s \n", e.Source, e.Message)
}

func NewError(code int, message ...string) (err *Error) {
Expand Down

0 comments on commit 1559fd7

Please sign in to comment.