Skip to content

Commit 72b9868

Browse files
committed
fix: optional .env file in ingestor
1 parent 6fadd31 commit 72b9868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pragma-ingestor/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ mod error;
99

1010
#[tokio::main]
1111
async fn main() -> Result<(), Box<dyn std::error::Error>> {
12-
dotenv().expect(".env file not found");
12+
let _ = dotenv(); // .env file is not present in prod
1313
pragma_common::tracing::init_tracing();
1414
info!(
1515
"kafka configuration : hostname={:?}, group_id={}, topic={}",

0 commit comments

Comments
 (0)