gateway: fix wrong error message

This commit is contained in:
Simone Gotti 2019-05-15 23:22:05 +02:00
parent faded9b809
commit eabf6c8a92
1 changed files with 1 additions and 1 deletions

View File

@ -742,7 +742,7 @@ func (h *ActionHandler) HandleOauth2Callback(ctx context.Context, code, state st
oauth2Source, err := common.GetOauth2Source(rs, "")
if err != nil {
return nil, errors.Wrapf(err, "failed to create gitlab source")
return nil, errors.Wrapf(err, "failed to create oauth2 source")
}
oauth2Token, err := oauth2Source.RequestOauth2Token(h.webExposedURL+"/oauth2/callback", code)