Kaynağa Gözat

debug: log oauth response when access token is absent

ifedapoolarewaju 5 yıl önce
ebeveyn
işleme
57305741e8

+ 1 - 0
packages/@uppy/companion/src/server/controllers/callback.js

@@ -25,5 +25,6 @@ module.exports = function callback (req, res, next) {
   }
 
   logger.debug(`Did not receive access token for provider ${providerName}`, null, req.id)
+  logger.debug(req.session.grant.response, 'callback.oauth.resp', req.id)
   return res.sendStatus(400)
 }