mirror of
https://github.com/aunefyren/wrapperr
synced 2025-01-07 15:28:43 +00:00
Error return bug
This commit is contained in:
parent
245957e1bb
commit
f31d4206b8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue