Change logging lvl for stderr message during docker build

+ Returning sterr message as error make deployments fails
  + Stderr message can only be warning (i.e: npm messages)
  + Relies of docker build output to tell if it is an error or not
This commit is contained in:
Σrebe - Romain GERARD
2021-07-05 19:05:03 +02:00
committed by Erèbe - Romain Gerard
parent a6db35bca6
commit 3f15da2624

View File

@@ -120,11 +120,11 @@ impl LocalDocker {
let line_string = line.unwrap();
error!("{}", line_string.as_str());
lh.error(ProgressInfo::new(
lh.deployment_in_progress(ProgressInfo::new(
ProgressScope::Application {
id: build.image.application_id.clone(),
},
ProgressLevel::Error,
ProgressLevel::Warn,
Some(line_string.as_str()),
self.context.execution_id(),
));