Skip to content

Commit

Permalink
Add error log
Browse files Browse the repository at this point in the history
  • Loading branch information
epeterson42 committed Jun 20, 2024
1 parent af2dbdb commit 3c4a609
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package server

import (
"fmt"
"github.com/jak103/powerplay/internal/utils/log"

"github.com/gofiber/fiber/v2"
"github.com/jak103/powerplay/internal/config"
Expand Down Expand Up @@ -33,7 +34,7 @@ func Run() {

err := app.Listen(fmt.Sprintf(":%s", config.Vars.Port))
if err != nil {
return
log.WithErr(err).Error("Server error: %v", err.Error())
}
}

Expand Down

0 comments on commit 3c4a609

Please sign in to comment.