mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
improve error messages
This commit is contained in:
@@ -295,7 +295,7 @@ class DeviceManager:
|
|||||||
else:
|
else:
|
||||||
print(traceback.format_exc())
|
print(traceback.format_exc())
|
||||||
update_label("Failed to restore")
|
update_label("Failed to restore")
|
||||||
show_error_msg(type(e).__name__)
|
show_error_msg(type(e).__name__ + ": " + repr(e))
|
||||||
|
|
||||||
## RESETTING MOBILE GESTALT
|
## RESETTING MOBILE GESTALT
|
||||||
def reset_mobilegestalt(self, settings: QSettings, update_label=lambda x: None):
|
def reset_mobilegestalt(self, settings: QSettings, update_label=lambda x: None):
|
||||||
@@ -323,4 +323,4 @@ class DeviceManager:
|
|||||||
else:
|
else:
|
||||||
print(traceback.format_exc())
|
print(traceback.format_exc())
|
||||||
update_label("Failed to restore")
|
update_label("Failed to restore")
|
||||||
show_error_msg(type(e).__name__)
|
show_error_msg(type(e).__name__ + ": " + repr(e))
|
||||||
|
|||||||
Reference in New Issue
Block a user