fix Error -> Errorf

This commit is contained in:
Andrew M
2020-05-08 14:38:57 -04:00
parent b8bf0be2c7
commit 6560485a4b
@@ -100,7 +100,7 @@ func (ro *AuthRouter) authHandler(ae *env.AppEnv, rc *response.RequestContext) {
if shouldUpdate {
if err := ae.GetHandlers().Identity.PatchInfo(identity); err != nil {
pfxlog.Logger().WithError(err).Error("failed to update sdk/env info on identity [%s] auth", identity.Id)
pfxlog.Logger().WithError(err).Errorf("failed to update sdk/env info on identity [%s] auth", identity.Id)
}
}
}