diff --git a/crates/papyrus_protobuf/build.rs b/crates/papyrus_protobuf/build.rs index 12960d5605..70f386bfbb 100644 --- a/crates/papyrus_protobuf/build.rs +++ b/crates/papyrus_protobuf/build.rs @@ -3,7 +3,8 @@ use std::io::Result; fn main() -> Result<()> { println!("Building"); - let (protoc_bin, _) = protoc_prebuilt::init("27.0").unwrap(); + let (protoc_bin, _) = protoc_prebuilt::init("27.0") + .expect("Please run `gh auth login` to enable protoc compilation"); env::set_var("PROTOC", protoc_bin); prost_build::compile_protos( &[