Skip to content

Commit

Permalink
add: error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
oreHGA committed Nov 15, 2024
1 parent 5a15799 commit 4051c1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/controllers/quest.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ exports.editQuest = async (req, res) => {
quest,
});
} catch (err) {
console.error(err);
res.status(500).json({
error: "Error updating quest",
});
Expand Down

0 comments on commit 4051c1d

Please sign in to comment.