Commit Graph
5 Commits
Author SHA1 Message Date
Lin, Hung-Shin 82d1004ecf wip: removing console log 2023-11-20 14:59:14 +08:00
wancat c2dac8d385 fix: wrap all async controller with error handler
* add validations to newCommand
2023-11-14 10:45:24 +08:00
wancat 203114cd5e feat: add validation for login 2023-11-01 21:35:25 +08:00
wancat 88ed447573 fix: error handling
- Remove unnecessary try-catch block in createSession function
- Add error handling for missing session ID in socket.js
- Improve error handling in connectDB function
- Add error handling middleware for server errors
- Add default export for get function in env.js

Signed-off-by: wancat <wancat@wancat.cc>
2023-07-25 15:46:59 +08:00
wancat da4b1b18a4 Create fake auth middleware
Work in progress
2023-07-19 16:54:32 +08:00