feedback if missing env var

This commit is contained in:
holger krekel
2022-03-31 10:01:01 +02:00
parent 3e5e852e20
commit aaa42a3412
3 changed files with 6 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ fn criterion_benchmark(c: &mut Criterion) {
b.to_async(AsyncStdExecutor)
.iter(|| get_chat_msgs_benchmark(black_box(&path.as_ref()), black_box(&chats)))
});
} else {
println!("env var not set: DELTACHAT_BENCHMARK_DATABASE");
}
}