fix(device_browser): un-nest exception

This commit is contained in:
perl_d authored and David Perl committed 2025-07-15 10:29:31 +02:00
1 parent 530797a556
commit 8b2d6052e8
2 files changed
+2 -2

No files matched your search

@@ -235,7 +235,7 @@ class DeviceConfigDialog(BECWidget, QDialog):
if self._action == "update":
self._fetch_config()
self._fill_form()
raise RuntimeError("Failed to update device configuration") from e
raise e
def _start_waiting_display(self):
self._overlay_widget.setVisible(True)
@@ -113,7 +113,7 @@ class DeviceItem(ExpandableGroupFrame):
@SafeSlot(Exception, popup_error=True)
def _deletion_error(self, e: Exception):
raise RuntimeError(f"Failed to delete device {self.device}") from e
raise e
@SafeSlot()
def _deletion_done(self):