Skip to content

Commit

Permalink
temporarily add additional log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
petersutter committed Dec 11, 2024
1 parent ddb33cb commit 2355e70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/lib/routes/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const config = require('../config')
const { encodeBase64 } = require('../utils')
const { authorization } = require('../services')
const { metricsRoute } = require('../middleware')
const logger = require('../logger')

const router = module.exports = express.Router({
mergeParams: true,
Expand All @@ -30,6 +31,7 @@ router.route('/subjectrules')
const result = await authorization.selfSubjectRulesReview(user, namespace, accountId)
res.send(result)
} catch (err) {
logger.error('#Error on selfSubjectRulesReview', err)
next(err)
}
})
Expand Down

0 comments on commit 2355e70

Please sign in to comment.