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

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