From 65bbc23391cf162a8c7c430f5bf1773c266968bb Mon Sep 17 00:00:00 2001 From: Paolo Flores Date: Sun, 1 Dec 2024 21:19:27 -0500 Subject: [PATCH] logs --- stiller-backend/pkg/loggers/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stiller-backend/pkg/loggers/log.go b/stiller-backend/pkg/loggers/log.go index c5850e1..4a81dc9 100644 --- a/stiller-backend/pkg/loggers/log.go +++ b/stiller-backend/pkg/loggers/log.go @@ -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 }