The event handler and media worker goroutines previously lacked panic recovery. If processing panicked from an unexpected message structure, it would crash the entire wacli process and drop the authenticated session.
This adds idiomatic `defer func() { recover() }()` blocks to the handlers. The process now survives individual message panics and logs the incident to stderr safely.
Closes #52
|
||
|---|---|---|
| .. | ||
| app | ||
| config | ||
| lock | ||
| out | ||
| pathutil | ||
| store | ||
| wa | ||