Skip to content

Commit

Permalink
Merge pull request #711 from deuteronomy-works/master
Browse files Browse the repository at this point in the history
Merged
  • Loading branch information
amoh-godwin authored Jan 4, 2025
2 parents dac6880 + 34295a0 commit 4d2eff8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyffmpeg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,10 @@ def convert(self, input_file, output_file):
if 'Output #0' not in stderr:
lines = stderr.splitlines()
if len(lines) > 0:
self.error = lines[-1]
self.error = "".join(lines) # instead of lines[-1]
self.error = "New error info: " + self.error
else:
self.error = ""
self.error = "Error but nothing much"

if self.enable_log:
self.logger.error(self.error)
Expand Down

0 comments on commit 4d2eff8

Please sign in to comment.