mirror of
https://github.com/aclist/dztui.git
synced 2026-11-01 07:32:44 +01:00
fix: stringify Exception when passing to dialog
This commit is contained in:
1 parent
aeefc830cd
commit
0de0dd4a03
1 file changed
+1
-1
@@ -53,7 +53,7 @@ class UpdateManager:
|
|||||||
func = StoredFunc(self._on_update_failure, msg)
|
func = StoredFunc(self._on_update_failure, msg)
|
||||||
self.thread_man.set_cleanup_func(func, destroy_first=True)
|
self.thread_man.set_cleanup_func(func, destroy_first=True)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
func = StoredFunc(self._on_update_failure, e)
|
func = StoredFunc(self._on_update_failure, str(e))
|
||||||
self.thread_man.set_cleanup_func(func, destroy_first=True)
|
self.thread_man.set_cleanup_func(func, destroy_first=True)
|
||||||
logger.warning(e)
|
logger.warning(e)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user