Houmgaor
|
f138cb5f77
|
fix: replace panic calls with proper error handling
Remove 51 panic() calls from handler code and replace with:
- Proper error logging using zap
- Appropriate client error responses (doAckBufFail, doAckSimpleFail)
- Graceful error recovery instead of server crashes
Files updated:
- handlers_guild_scout.go (9 panics)
- handlers_guild_tresure.go (10 panics)
- handlers_guild.go (7 panics + dead code removal)
- handlers_mail.go (5 panics)
- handlers.go (9 panics)
- handlers_tower.go (2 panics)
- handlers_clients.go (3 panics)
- handlers_guild_alliance.go (1 panic)
- handlers_quest.go (1 panic)
- handlers_rengoku.go (1 panic)
- handlers_stage.go (1 panic)
- handlers_data.go (1 panic)
- handlers_cafe.go (1 panic)
- signserver/sign_server.go (1 panic)
Remaining panics (3) are in test files and compression library
where panicking on programming errors is appropriate.
|
2026-02-02 17:14:34 +01:00 |
|
wish
|
7d884da938
|
replace deprecated code
|
2023-03-31 00:04:51 +11:00 |
|
wish
|
e6845d74d0
|
make various handlers not error fatally
|
2023-02-04 14:29:28 +11:00 |
|
wish
|
3cd756c35d
|
fix road leaderboard overflow
|
2022-10-23 18:22:56 +11:00 |
|
wish
|
1e3095781c
|
optimise road leaderboard code
|
2022-10-23 17:31:14 +11:00 |
|
wish
|
33685fe36a
|
fix road leaderboard overflow
|
2022-10-23 16:30:52 +11:00 |
|
wish
|
a35dfa21b5
|
create default response on rengoku ranking
|
2022-09-10 23:15:08 +10:00 |
|
wish
|
c60385e61f
|
dump other savedata types
|
2022-09-05 15:36:01 +10:00 |
|
wish
|
1ba3d55566
|
road leaderboard initial implementation
|
2022-08-19 03:53:28 +10:00 |
|
wish
|
2c0e7a5267
|
repository cleanup
|
2022-07-29 03:25:23 +10:00 |
|