Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Commit bd66ec7

Browse files
authored
exit on webhook or node configs parsing error (#372)
1 parent c7b5976 commit bd66ec7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

crates/orchestrator/src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ async fn main() -> Result<()> {
214214
}
215215
Err(e) => {
216216
error!("Failed to parse webhook configs from environment: {}", e);
217+
std::process::exit(1);
217218
}
218219
}
219220

@@ -261,6 +262,7 @@ async fn main() -> Result<()> {
261262
"Failed to parse node group configurations from environment: {}",
262263
e
263264
);
265+
std::process::exit(1);
264266
}
265267
}
266268
}

0 commit comments

Comments
 (0)