add exception check to adapter reset

This commit is contained in:
matt committed 2026-10-16 21:08:56 -07:00
1 parent d1fa64c7fd
commit 50f9630ff1
1 file changed
+2 -1
+2 -1
View File
@@ -319,4 +319,5 @@ if __name__ == "__main__":
test(test_count)
except Exception as e:
print(f"Test failed brah - {e}")
reset_adapter()
if "org.freedesktop.DBus.Error.AccessDenied" in e:
reset_adapter()