Skip to content

Commit

Permalink
coderabbit changes2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
samar12-rad committed Oct 7, 2024
1 parent 827aae6 commit 0377cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/controller/event.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const getEvents = async (req, res) => {

res.status(200).json(events);
} catch (error) {
console.error("Error retrieving events:", error);
logger.error("Error retrieving events:", error);
res.status(500).json({ message: "Internal server error" });
}
};
Expand Down

0 comments on commit 0377cb0

Please sign in to comment.