1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-01-01 19:41:18 +01:00

fix(device_browser): un-nest exception

This commit is contained in:
2025-07-14 19:20:38 +02:00
committed by David Perl
parent 530797a556
commit 8b2d6052e8
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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):