Skip to content

Commit

Permalink
error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
th0rn0 committed Sep 29, 2024
1 parent fcc0913 commit 4c360db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func handlePlayer(c *gin.Context) {
if banQuery == "true" {
_, err := addBannedTrack(currentTrackURI)
if err != nil {
logger.Err(err)
c.JSON(http.StatusInternalServerError, err)
return
}
Expand Down

0 comments on commit 4c360db

Please sign in to comment.