fix nullable non-equal comparisions

This commit is contained in:
Gani Georgiev
2023-12-08 13:50:12 +02:00
parent 1bf7f148b0
commit 4d3ba270c0
6 changed files with 94 additions and 85 deletions
+1 -1
View File
@@ -357,7 +357,7 @@ func logRequest(app core.App, c echo.Context, err *ApiError) {
routine.FireAndForget(func() {
message := method + " " + url
if err != nil {
app.Logger().Error("(Failed) "+message, attrs...)
app.Logger().Error(message, attrs...)
} else {
app.Logger().Info(message, attrs...)
}