Commit Graph
3 Commits
Author SHA1 Message Date
NanamiAdmin 1432651a14 fix(watchdog): fix watchdog unable to send webhook and simplify the parsing of json config
- Change webhook config headers and body from map to string format
- Move command parsing logic to separate function in command.go
- Add debug logging for webhook operations
- Improve exception handling with proper JSON parsing
- Simplify config loading logic with default values
2026-04-28 20:48:54 +08:00
NanamiAdmin 8108d4d01f fix(watchdog): integrate instance management with watchdog
Add watchdog instance management in Start/StopInstanceHandler to sync with watchdog service
Add notification enabled check in exceptionHandle function
2026-04-28 19:50:52 +08:00
NanamiAdmin 0890c8136f feat(watchdog): add exception handling and webhook integration
- Implement exception handling in TCP client to process error messages
- Add webhook functionality to send notifications for exceptions
- Introduce utility functions for string parsing
- Update config with webhook template
2026-04-28 15:46:31 +08:00