Comment 7 for bug 268745

Revision history for this message
Free Ekanayaka (free.ekanayaka) wrote :

The problem occurs when Smart (for whatever reason) was unable to download a certain file, and consequently raises a smart.Error exception.

We now properly catch the exception:

- self._ctrl.commitChangeSet(changeset)
+ try:
+ self._ctrl.commitChangeSet(changeset)
+ except smart.Error, e:
+ raise TransactionError(e.args[0])

and the PackageChanger will send an error message with information about the failure, as it happens with other errors.