[pp:ugoira] log errors for general exceptions
This commit is contained in:
@@ -155,7 +155,9 @@ class UgoiraPP(PostProcessor):
|
|||||||
self.log.error("Unable to invoke FFmpeg (%s: %s)",
|
self.log.error("Unable to invoke FFmpeg (%s: %s)",
|
||||||
exc.__class__.__name__, exc)
|
exc.__class__.__name__, exc)
|
||||||
pathfmt.realpath = pathfmt.temppath
|
pathfmt.realpath = pathfmt.temppath
|
||||||
except Exception:
|
except Exception as exc:
|
||||||
|
print()
|
||||||
|
self.log.error("%s: %s", exc.__class__.__name__, exc)
|
||||||
pathfmt.realpath = pathfmt.temppath
|
pathfmt.realpath = pathfmt.temppath
|
||||||
else:
|
else:
|
||||||
if self.mtime:
|
if self.mtime:
|
||||||
|
|||||||
Reference in New Issue
Block a user