mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
package: Better error handling
This commit is contained in:
parent
1f5fa31e53
commit
55cabdaa2e
@ -88,7 +88,7 @@ class Transaction(object):
|
||||
try:
|
||||
self._do_install()
|
||||
except glib.Error as exception:
|
||||
raise PackageException(exception.message)
|
||||
raise PackageException(exception.message) from exception
|
||||
|
||||
def _do_install(self):
|
||||
"""Run a PackageKit transaction to install given packages.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user