Files
RedBear-OS/drivers/storage
Red Bear OS 46e70a5472 usbscsid: replace .unwrap() in runtime with explicit error handling
Two runtime .unwrap() calls in the event loop are replaced with
explicit error logging and process::exit(1):
1. event::EventQueue::new() — fail to create event queue
2. event_queue.subscribe() — fail to subscribe to scheme events

Previously these panicked the daemon if the event subsystem
was unavailable. Now they log a clear error and exit gracefully.

Resolves IMPROVEMENT-PLAN §3.6: 'usbscsid: Fix .expect() in runtime'.
2026-07-09 00:24:40 +03:00
..