mirror of
https://github.com/jlengrand/engine.git
synced 2026-03-10 08:11:21 +00:00
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:
committed by
Erèbe - Romain Gerard
parent
a6db35bca6
commit
3f15da2624
@@ -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(),
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user