aboutsummaryrefslogtreecommitdiff
path: root/internal/route/lfs/route.go
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-04-08 20:55:15 +0800
committerGitHub <noreply@github.com>2020-04-08 20:55:15 +0800
commite79aebb3e1f433928af6521230a04a3ad2e8acd8 (patch)
treece43c2fc24fa2d7bf88ee27d4a05f2e7a1cb2ebd /internal/route/lfs/route.go
parent6a096811ffb658f575525921fd49bd7f4f0d45a5 (diff)
route: bypass require signin check for trigger repo tasks (#6079)
* route: bypass require signin check for trigger repo tasks * CHANGELOG * Fix lint errors
Diffstat (limited to 'internal/route/lfs/route.go')
-rw-r--r--internal/route/lfs/route.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/lfs/route.go b/internal/route/lfs/route.go
index a7003708..08045ac5 100644
--- a/internal/route/lfs/route.go
+++ b/internal/route/lfs/route.go
@@ -85,7 +85,7 @@ func authenticate() macaron.Handler {
// Once we found the token, we're supposed to find its related user,
// thus any error is unexpected.
internalServerError(c.Resp)
- log.Error("Failed to get user: %v", err)
+ log.Error("Failed to get user [id: %d]: %v", token.UserID, err)
return
}
}