Manager: better logging when trying to find Blender
This commit is contained in:
parent
3f6dd9be8b
commit
859a2e6eda
@ -230,6 +230,13 @@ func (f *Flamenco) CheckBlenderExePath(e echo.Context) error {
|
|||||||
response.Cause = fmt.Sprintf("Found %v", checkResult.BlenderVersion)
|
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)
|
return e.JSON(http.StatusOK, response)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user