Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloose committed Dec 2, 2024
1 parent d004b8b commit 65bbc23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stiller-backend/pkg/loggers/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func GenericOkLog(err error, msg_fmt string, args ...any) {

func RequestLog(err error, msg string, status int, res *http.ResponseWriter) bool {
if len(msg) != 0 || err != nil {
GenericErrLog(err, msg)
GenericErrLog(err, err.Error())
(*res).WriteHeader(status)
return true
}
Expand Down

0 comments on commit 65bbc23

Please sign in to comment.