diff --git a/lib/web/auth/saml/index.js b/lib/web/auth/saml/index.js index 14f3966d7..c48b93e29 100644 --- a/lib/web/auth/saml/index.js +++ b/lib/web/auth/saml/index.js @@ -85,7 +85,7 @@ passport.use(new SamlStrategy({ } } }).catch(function (err) { - logger.error('saml auth failed: ' + err) + logger.error('saml auth failed: ' + err.message) return done(err, null) }) }))