CodeConstruct / dbus-sensors

D-Bus configurable sensor scanning applications
Apache License 2.0
0 stars 3 forks source link

[enhancement] Unify the error handling during state transition for NVMeSubsystem #12

Open drakedog2008 opened 11 months ago

drakedog2008 commented 11 months ago

Currently NVMeSubsystem uses different techniques to exit on forbidden state transaction (exception, assertion, printing&return), we would better to unify them.

https://gbmc-review.googlesource.com/c/dbus-sensors/+/14999/comment/e209fab3_6376efef/