Skip to content

Commit

Permalink
Add logging to main function
Browse files Browse the repository at this point in the history
  • Loading branch information
neilyio committed May 10, 2024
1 parent cf93c24 commit 2246b68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/localstack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ use testcontainers_modules::{
#[tokio::main]
#[allow(clippy::result_large_err)]
async fn main() -> Result<(), s3::Error> {
let _ = pretty_env_logger::try_init();

let image: RunnableImage<LocalStack> =
RunnableImage::from(LocalStack).with_env_var(("SERVICES", "s3"));
let container = image.start().await;
Expand Down

0 comments on commit 2246b68

Please sign in to comment.