Skip to content

Commit

Permalink
feat: log before server is starting
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Gleich <git@mattglei.ch>
  • Loading branch information
gleich committed Jul 28, 2024
1 parent 3f4a6bf commit 26fe1f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func main() {
lumber.Success("setup steam cache")
go steamCache.PeriodicUpdate(steam.FetchRecentlyPlayedGames, 5*time.Minute)

lumber.Info("starting server")
err = http.ListenAndServe(":8000", r)
if err != nil {
lumber.Fatal(err, "failed to start router")
Expand Down

0 comments on commit 26fe1f8

Please sign in to comment.