fix: 🐛 improve message consistency + log error

Signed-off-by: jffarge <jf@dagger.io>
This commit is contained in:
jffarge 2022-01-28 10:56:33 +01:00
parent 75c275c600
commit 6ef7c4c764

View File

@ -65,7 +65,7 @@ func checkBuildkit(ctx context.Context) error {
lg.Debug().Msg("no buildkit daemon detected") lg.Debug().Msg("no buildkit daemon detected")
if err := removeBuildkit(ctx); err != nil { if err := removeBuildkit(ctx); err != nil {
lg.Debug().Msg("Error while removing Buildkit") lg.Debug().Err(err).Msg("error while removing buildkit")
} }
if err := installBuildkit(ctx); err != nil { if err := installBuildkit(ctx); err != nil {