Manager: better logging when trying to find Blender

This commit is contained in:
Sybren A. Stüvel 2022-07-26 17:23:01 +02:00
parent 3f6dd9be8b
commit 859a2e6eda

View File

@ -230,6 +230,13 @@ func (f *Flamenco) CheckBlenderExePath(e echo.Context) error {
response.Cause = fmt.Sprintf("Found %v", checkResult.BlenderVersion)
}
logger.Info().
Str("input", response.Input).
Str("foundLocation", response.Path).
Str("result", response.Cause).
Bool("isUsable", response.IsUsable).
Msg("result of command check")
return e.JSON(http.StatusOK, response)
}