mirror of
https://github.com/aclist/dztui.git
synced 2026-08-28 18:57:12 +02:00
Merge pull request #344 from aclist/fix/stringify-exceptions
Some checks are pending
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run
Some checks are pending
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run
fix: stringify Exception when passing to dialog
This commit is contained in:
commit
9d3aa8d9f5
@ -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)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user