nicer bundled spec message

This commit is contained in:
keorn 2016-11-14 14:29:33 +00:00
parent d8e6dbd981
commit 0b5a9a6e60

View File

@ -137,7 +137,7 @@ impl From<ethjson::spec::Spec> for Spec {
macro_rules! load_bundled {
($e:expr) => {
Spec::load(include_bytes!(concat!("../../res/", $e, ".json")) as &[u8]).expect("Chain spec is invalid")
Spec::load(include_bytes!(concat!("../../res/", $e, ".json")) as &[u8]).expect(concat!("Chain spec ", $e, " is invalid."))
};
}