mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 03:31:10 +00:00
Enable logging in the puppet worker (#3411)
This is useful for tests where something is failing :D
This commit is contained in:
@@ -50,6 +50,8 @@ pub fn validate_candidate(
|
||||
macro_rules! decl_puppet_worker_main {
|
||||
() => {
|
||||
fn main() {
|
||||
$crate::sp_tracing::try_init_simple();
|
||||
|
||||
let args = std::env::args().collect::<Vec<_>>();
|
||||
if args.len() < 2 {
|
||||
panic!("wrong number of arguments");
|
||||
|
||||
Reference in New Issue
Block a user