mirror of
https://github.com/stashapp/stash.git
synced 2025-12-15 21:03:22 +01:00
Added output of error message
This commit is contained in:
parent
d082580ee0
commit
10af75a670
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ func (e *Encoder) run(probeResult VideoFile, args []string) (string, error) {
|
|||
stdoutString := string(stdoutData)
|
||||
|
||||
if err := cmd.Wait(); err != nil {
|
||||
logger.Errorf("ffmpeg error when running command <%s>", strings.Join(cmd.Args, " "))
|
||||
logger.Errorf("ffmpeg error when running command <%s>: %s", strings.Join(cmd.Args, " "), stdoutString)
|
||||
return stdoutString, err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue