new_web_user.go: use trace.DebugReport to log error

This commit is contained in:
jcj83429 2016-12-09 14:43:27 -08:00
parent 0f113f18bd
commit 3771689d2e

View file

@ -277,7 +277,7 @@ func (s *AuthServer) CreateUserWithU2FToken(token string, password string, respo
reg, err := u2f.Register(response, *challenge, &u2f.Config{SkipAttestationVerify: true})
if err != nil {
log.Errorf("%v", err)
log.Error(trace.DebugReport(err))
return nil, trace.Wrap(err)
}