From fd12968022bf71fa59ec97c0d1b130980313ac99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Vis=C3=A9e?= Date: Tue, 8 Oct 2024 16:49:18 +0200 Subject: [PATCH] Demote protos generation panic to log message (#191) --- tests/protos.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/protos.rs b/tests/protos.rs index 364d56f..514407d 100644 --- a/tests/protos.rs +++ b/tests/protos.rs @@ -50,7 +50,7 @@ fn protos() { append_to_file(GRPC_OUTPUT_FILE, "pub use prost_types::Timestamp;"); eprintln!("protos_files_synced:{protos_files_synced}, protos_test_synced:{protos_test_synced}"); - panic!("proto definitions changed. Stubs recompiled. Please commit the changes.") + eprintln!("proto definitions may be changed. Stubs recompiled. Please commit the changes.") } /// Derive options for structs. (Path, build attributes, 'from' macro generation enabled)