Skip to content

Commit

Permalink
Error return bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aunefyren committed Oct 31, 2023
1 parent 245957e commit f31d420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/both.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ func ApiWrapperGetStatistics(context *gin.Context) {
}

if !UserNameFound {
log.Println("Failed to find user in Tautulli. Error: " + err.Error())
log.Println("Failed to find user in Tautulli.")
context.JSON(http.StatusInternalServerError, gin.H{"error": "Could not find a matching user."})
context.Abort()
return
Expand Down

0 comments on commit f31d420

Please sign in to comment.