Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit fb8f557

Browse files
authored
add logging for when BOE endpoint fails
1 parent 80693fc commit fb8f557

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/stuyboe/syncUsers.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ export default async (req, res) => {
9393
data: users
9494
});
9595
} catch (e) {
96+
console.log("BOE endpoint failed:");
97+
console.error(e);
9698
res.json({
9799
success: false,
98100
error: 'There was an issue validating the authentication token'

0 commit comments

Comments
 (0)