Flamenco Worker - Update WRN msg when Blender isn't found by Worker to help end user on next-steps #104230

Manually merged
Sybren A. Stüvel merged 2 commits from michael-2/flamenco:msg_blender_not_found into main 2023-07-10 15:09:44 +02:00
Showing only changes of commit 31726a9224 - Show all commits

View File

@ -37,7 +37,7 @@ func findBlender() {
switch {
case errors.Is(err, fs.ErrNotExist), errors.Is(err, exec.ErrNotFound):
log.Warn().Msg("The Worker could not find Blender on this system. " + helpMsg)
log.Warn().Msg("Blender could not be found. " + helpMsg)

Remove "The Worker" from the string. Everything logged by the worker is from the worker's perspective.

Remove "The Worker" from the string. Everything logged by the worker is from the worker's perspective.
case err != nil:
log.Warn().AnErr("cause", err).Msg("There was an error finding Blender on this system. " + helpMsg)