Worker: fix typo 'FFmepg' -> 'FFmpeg'
Just a logging message fix, no functional changes.
This commit is contained in:
parent
e394e75f64
commit
6e401f882f
@ -19,7 +19,7 @@ func findFFmpeg() {
|
|||||||
case errors.Is(err, fs.ErrNotExist):
|
case errors.Is(err, fs.ErrNotExist):
|
||||||
log.Warn().Msg("FFmpeg could not be found on this system, render jobs may not run correctly")
|
log.Warn().Msg("FFmpeg could not be found on this system, render jobs may not run correctly")
|
||||||
case err != nil:
|
case err != nil:
|
||||||
log.Warn().Err(err).Msg("there was an unexpected error finding FFmepg on this system, render jobs may not run correctly")
|
log.Warn().Err(err).Msg("there was an unexpected error finding FFmpeg on this system, render jobs may not run correctly")
|
||||||
default:
|
default:
|
||||||
log.Info().Str("path", result.Path).Str("version", result.Version).Msg("FFmpeg found on this system")
|
log.Info().Str("path", result.Path).Str("version", result.Version).Msg("FFmpeg found on this system")
|
||||||
}
|
}
|
||||||
|
@ -168,7 +168,7 @@ func cmdFramesToVideoParams(logger zerolog.Logger, cmd api.Command) (CreateVideo
|
|||||||
log.Warn().Msg("FFmpeg could not be found on this system, render jobs may not run correctly")
|
log.Warn().Msg("FFmpeg could not be found on this system, render jobs may not run correctly")
|
||||||
return parameters, NewParameterInvalidError("exe", cmd, err.Error())
|
return parameters, NewParameterInvalidError("exe", cmd, err.Error())
|
||||||
case err != nil:
|
case err != nil:
|
||||||
log.Warn().Err(err).Msg("there was an unexpected error finding FFmepg on this system, render jobs may not run correctly")
|
log.Warn().Err(err).Msg("there was an unexpected error finding FFmpeg on this system, render jobs may not run correctly")
|
||||||
return parameters, NewParameterInvalidError("exe", cmd, err.Error())
|
return parameters, NewParameterInvalidError("exe", cmd, err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user