mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-07 02:21:23 +00:00
always output stderr
This commit is contained in:
1 parent
7c553ffcee
commit
eb3499596e
1 file changed
+3
-3
+3
-3
@@ -207,14 +207,14 @@ pub async fn process_job(args: SadTalkerProcessJobArgs<'_>) -> Result<JobSuccess
|
||||
let mut error = ProcessSingleJobError::Other(anyhow!("CommandExitStatus: {:?}", command_exit_status));
|
||||
|
||||
if let Ok(contents) = read_to_string(&stderr_output_file) {
|
||||
warn!("Captured stderr output: {}", contents);
|
||||
|
||||
match categorize_error(&contents) {
|
||||
Some(ProcessSingleJobError::FaceDetectionFailure) => {
|
||||
warn!("Face not detected in source image");
|
||||
error = ProcessSingleJobError::FaceDetectionFailure;
|
||||
}
|
||||
_ => {
|
||||
warn!("Captured stderr output: {}", contents);
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user