Skip to content

Commit

Permalink
πŸš‘ Exit with code 1 on liftoff error
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiBardon committed Jan 2, 2024
1 parent 914bcaa commit 4888919
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/orangutan/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ async fn throwing_main() -> Result<(), Box<dyn std::error::Error>> {
if let Err(err) = liftoff() {
error!("Error: {}", err);
rocket.shutdown().await;
exit(1);
}
})))
.launch()
Expand Down

0 comments on commit 4888919

Please sign in to comment.