aboutsummaryrefslogtreecommitdiff
path: root/routers/user/social.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user/social.go')
-rw-r--r--routers/user/social.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/social.go b/routers/user/social.go
index 7b4d2329..a35da549 100644
--- a/routers/user/social.go
+++ b/routers/user/social.go
@@ -110,7 +110,7 @@ func SocialSignIn(ctx *middleware.Context, tokens oauth2.Tokens) {
case models.ErrOauth2NotAssociatedWithUser:
// pass
default:
- log.Error(err) // FIXME: handle error page
+ log.Error(err.Error()) // FIXME: handle error page
return
}
ctx.Session.Set("socialId", oa.Id)