diff --git a/ChangeLog b/ChangeLog index 29ff88d..e9b4994 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-24 Thomas Vander Stichele + + * morituri/image/image.py: + Actually set exception so MultiTask tells us what went wrong. + 2011-05-24 Thomas Vander Stichele * morituri/common/task.py: diff --git a/morituri/image/image.py b/morituri/image/image.py index c2167ad..ce0ebda 100644 --- a/morituri/image/image.py +++ b/morituri/image/image.py @@ -168,8 +168,9 @@ class AudioLengthTask(gstreamer.GstPipelineTask): try: length, qformat = sink.query_duration(self.gst.FORMAT_DEFAULT) - except self.gst.QueryError: + except self.gst.QueryError, e: self.info('failed to query duration of %r' % self._path) + self.setException(e) raise # wavparse 0.10.14 returns in bytes