pull/19/head
prplV 2024-12-23 17:35:23 +03:00
parent 426e287866
commit ce067efffd
1 changed files with 4 additions and 3 deletions

View File

@ -156,7 +156,7 @@ async fn process_protocol_symbol(proc: Arc<TrackingProcess>, val: u8) -> Result<
// }, // },
// 101 - Impermissible trigger values in JSON // 101 - Impermissible trigger values in JSON
101 => { 101 => {
error!("Impermissible trigger values in JSON in {}'s block. Killing thread...", proc.name); error!("Impermissible trigger values in JSON in {}'s block. Killing thread...", &proc.name);
if is_active(&proc.name).await { if is_active(&proc.name).await {
terminate_process(&proc.name).await; terminate_process(&proc.name).await;
} }
@ -164,9 +164,10 @@ async fn process_protocol_symbol(proc: Arc<TrackingProcess>, val: u8) -> Result<
}, },
// //
// 121 - Cannot create valid watcher for file dependency // 121 - Cannot create valid watcher for file dependency
// todo : think about valid situation
121 => { 121 => {
error!("Cannot create valid watcher for {}'s file dependency. Terminating thread...", proc.name); error!("Cannot create valid watcher for file dependency. Terminating {} process...", &proc.name);
let _ = terminate_process("runner-rs").await; let _ = terminate_process(&proc.name).await;
return Err(CustomError::Fatal) return Err(CustomError::Fatal)
}, },
// 111 - global thread termination with killing current child in a face // 111 - global thread termination with killing current child in a face