mirror of
https://github.com/gravitational/teleport
synced 2024-10-22 02:03:24 +00:00
new_web_user.go: use trace.DebugReport to log error
This commit is contained in:
parent
0f113f18bd
commit
3771689d2e
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue