improve benchmarking error output (#7863)

* add concat Vec<u8> function and use it for better error logging in add_benchmark! macro

* refactor benchmark error reporting to use format! and RuntimeString
This commit is contained in:
ropottnik authored and GitHub committed 2021-01-15 12:38:21 +00:00
1 parent cf37f44c38
commit 81efcc4e52
4 files changed
+75 -5

No files matched your search

@@ -174,7 +174,7 @@ impl BenchmarkCmd {
}
}
},
Err(error) => eprintln!("Error: {:?}", error),
Err(error) => eprintln!("Error: {}", error),
}
Ok(())