Houmgaor
d32e77efba
refactor: replace panic calls with structured error handling
Replace ~25 panic() calls in non-fatal code paths with proper
s.logger.Error + return patterns. Panics in handler code crashed
goroutines (caught by defer/recover but still disruptive) instead
of failing gracefully.
Key changes:
- SJISToUTF8 now returns (string, error); all 30+ callers updated
- Handler DB/IO panics replaced with log + return/ack fail
- Unhandled switch-case panics replaced with logger.Error
- Sign server Accept() panic replaced with log + continue
- Dead unreachable panic in guild_model.go removed
- deltacomp patch error logs and returns partial data
Panics intentionally kept: ByteFrame sentinel, unimplemented
packet stubs, os.Exit in main.go.
2026-02-20 19:11:41 +01:00
..
2026-02-18 21:39:13 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2023-11-19 02:34:02 +11:00
2023-11-19 00:35:22 +11:00
2023-11-19 02:34:02 +11:00
2026-02-20 17:07:42 +01:00
2023-11-19 00:35:22 +11:00
2026-02-18 21:48:08 +01:00
2023-11-19 02:34:02 +11:00
2026-02-20 19:11:41 +01:00
2026-02-20 17:07:42 +01:00
2023-11-19 02:34:02 +11:00
2024-02-20 04:18:16 +11:00
2023-11-19 00:35:22 +11:00
2023-11-19 00:35:22 +11:00
2023-11-19 00:35:22 +11:00
2026-02-20 19:11:41 +01:00
2026-02-20 19:11:41 +01:00
2023-11-19 00:35:22 +11:00
2023-11-19 02:34:02 +11:00
2026-02-20 17:07:42 +01:00
2023-11-19 00:35:22 +11:00
2023-11-19 02:34:02 +11:00
2023-11-19 02:34:02 +11:00
2023-11-19 02:34:02 +11:00
2023-11-19 02:34:02 +11:00
2026-02-18 21:39:13 +01:00
2026-02-20 19:11:41 +01:00
2023-11-19 02:34:02 +11:00
2023-11-19 00:35:22 +11:00
2026-02-20 17:07:42 +01:00
2023-11-19 00:35:22 +11:00
2026-02-20 17:07:42 +01:00
2023-11-19 00:35:22 +11:00
2024-02-21 02:09:42 +11:00
2026-02-18 21:48:08 +01:00
2023-11-19 00:35:22 +11:00
2026-02-18 21:48:08 +01:00
2026-02-18 21:48:08 +01:00
2023-11-19 00:35:22 +11:00
2026-02-18 21:48:08 +01:00
2026-02-20 17:07:42 +01:00
2023-11-19 00:35:22 +11:00
2023-11-19 02:34:02 +11:00
2026-02-18 21:48:08 +01:00
2023-11-19 00:35:22 +11:00
2023-11-19 02:34:02 +11:00
2026-02-20 19:11:41 +01:00
2026-02-18 21:48:08 +01:00
2026-02-18 21:39:13 +01:00
2026-02-18 21:39:13 +01:00
2026-02-18 21:39:13 +01:00
2026-02-20 19:11:41 +01:00
2023-12-02 21:16:26 +11:00
2026-02-18 21:39:13 +01:00
2026-02-20 17:07:42 +01:00
2023-11-22 22:59:36 +11:00
2023-11-30 00:31:09 +11:00
2023-11-19 00:35:22 +11:00
2026-02-18 21:48:08 +01:00
2023-11-19 00:35:22 +11:00
2026-02-20 17:07:42 +01:00
2026-02-20 19:11:41 +01:00
2026-02-18 21:39:13 +01:00
2026-02-18 21:48:08 +01:00
2023-11-19 02:34:02 +11:00
2026-02-20 17:07:42 +01:00
2023-11-19 02:34:02 +11:00
2023-11-19 02:34:02 +11:00
2023-11-19 02:34:02 +11:00
2023-11-19 02:34:02 +11:00
2023-12-02 21:10:52 +11:00
2023-11-19 00:35:22 +11:00
2026-02-18 21:39:13 +01:00
2026-02-18 21:39:13 +01:00
2024-02-25 14:12:37 +11:00
2026-02-20 19:11:41 +01:00
2026-02-20 19:11:41 +01:00
2026-02-20 17:07:42 +01:00
2024-02-25 14:12:37 +11:00
2026-02-20 17:07:42 +01:00
2023-11-19 02:34:02 +11:00
2023-11-19 02:34:02 +11:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2023-11-19 23:12:58 +11:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2026-02-19 00:46:57 +01:00
2026-02-18 21:48:08 +01:00
2023-11-19 02:34:02 +11:00
2023-11-26 23:22:56 +11:00
2023-11-19 00:35:22 +11:00
2023-11-19 02:34:02 +11:00
2023-11-19 00:35:22 +11:00
2023-11-19 00:35:22 +11:00
2023-11-19 02:34:02 +11:00
2023-11-26 23:22:56 +11:00
2023-11-19 02:34:02 +11:00
2026-02-18 21:48:08 +01:00
2023-11-19 02:34:02 +11:00
2026-02-20 17:07:42 +01:00
2023-11-19 00:35:22 +11:00
2023-11-19 02:34:02 +11:00
2023-11-19 00:35:22 +11:00
2026-02-20 17:07:42 +01:00
2026-02-20 17:07:42 +01:00
2023-11-26 23:22:56 +11:00
2026-02-18 21:48:08 +01:00
2026-02-18 21:48:08 +01:00
2023-11-19 02:34:02 +11:00