From 056ee785676de26840c6391c6709b9122ddb71e9 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 2 Nov 2020 18:52:47 +0100 Subject: [PATCH] config: network: use error message when parsing netmask failed Signed-off-by: Thomas Lamprecht --- src/config/network/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/network/parser.rs b/src/config/network/parser.rs index fa4809b3..9261ff1f 100644 --- a/src/config/network/parser.rs +++ b/src/config/network/parser.rs @@ -96,7 +96,7 @@ impl NetworkParser { match u8::from_str_radix(netmask.as_str(), 10) { Ok(mask) => mask, Err(err) => { - bail!("unable to parse netmask '{}'", netmask); + bail!("unable to parse netmask '{}' - {}", netmask, err); } } };