[output] add 'Logger.traceback()' helper
This commit is contained in:
@@ -151,7 +151,7 @@ class UgoiraPP(PostProcessor):
|
||||
"%s: Unable to extract frames from %s (%s: %s)",
|
||||
pathfmt.kwdict.get("id"), pathfmt.filename,
|
||||
exc.__class__.__name__, exc)
|
||||
return self.log.debug("", exc_info=exc)
|
||||
return self.log.traceback(exc)
|
||||
|
||||
if self.convert(pathfmt, tempdir):
|
||||
if self.delete:
|
||||
@@ -227,12 +227,12 @@ class UgoiraPP(PostProcessor):
|
||||
output.stderr_write("\n")
|
||||
self.log.error("Unable to invoke FFmpeg (%s: %s)",
|
||||
exc.__class__.__name__, exc)
|
||||
self.log.debug("", exc_info=exc)
|
||||
self.log.traceback(exc)
|
||||
pathfmt.realpath = pathfmt.temppath
|
||||
except Exception as exc:
|
||||
output.stderr_write("\n")
|
||||
self.log.error("%s: %s", exc.__class__.__name__, exc)
|
||||
self.log.debug("", exc_info=exc)
|
||||
self.log.traceback(exc)
|
||||
pathfmt.realpath = pathfmt.temppath
|
||||
else:
|
||||
if self.mtime:
|
||||
|
||||
Reference in New Issue
Block a user