mirror of
https://github.com/aunefyren/wrapperr
synced 2025-01-23 06:25:01 +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 {
|
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.JSON(http.StatusInternalServerError, gin.H{"error": "Could not find a matching user."})
|
||||||
context.Abort()
|
context.Abort()
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue