We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 469ba5f commit 81cf3fbCopy full SHA for 81cf3fb
packages/edge/infra/client/container-runner/src/main.rs
@@ -58,7 +58,17 @@ fn main() -> Result<()> {
58
59
// Run the container
60
let exit_code = match container::run(msg_tx.clone(), &actor_path, root_user_enabled) {
61
- Result::Ok(exit_code) => exit_code,
+ Result::Ok(exit_code) => {
62
+ eprintln!("run container exited: {exit_code}");
63
+ container::send_message(
64
+ &msg_tx,
65
+ None,
66
+ log_shipper::StreamType::StdErr,
67
+ format!("Exited with exit code {exit_code}"),
68
+ );
69
+
70
+ exit_code
71
+ }
72
Err(err) => {
73
eprintln!("run container failed: {err:?}");
74
container::send_message(
0 commit comments