Skip to content

Commit

Permalink
[pp:ugoira] log errors for general exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Apr 6, 2024
1 parent 40bd145 commit 3346a37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gallery_dl/postprocessor/ugoira.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ def convert(self, pathfmt):
self.log.error("Unable to invoke FFmpeg (%s: %s)",
exc.__class__.__name__, exc)
pathfmt.realpath = pathfmt.temppath
except Exception:
except Exception as exc:
print()
self.log.error("%s: %s", exc.__class__.__name__, exc)
pathfmt.realpath = pathfmt.temppath
else:
if self.mtime:
Expand Down

0 comments on commit 3346a37

Please sign in to comment.