Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Exception handling when processing udev devices (#5088)
* Add Exception handling to UDEV reading and parsing Khadas VIM4 UDEV returns something that python crapps its pants about. The exception just allows it to continue. * Add an exception print Added an exception print for the times things go bad. * Split exception handling The exception is not fatal when parsing error happens on one node. print it and continue. * cleanups * swapped functions device.device_node function bails very badly! It raises no exceptions to the top but complains and errors * Update supervisor/hardware/manager.py Co-authored-by: Stefan Agner <[email protected]> * Update supervisor/hardware/manager.py --------- Co-authored-by: Stefan Agner <[email protected]> Co-authored-by: Pascal Vizeli <[email protected]>
- Loading branch information