Make warning more verbose, tell what kind of variable cannot be fetched

This commit is contained in:
Matthias Beyer 2016-07-18 15:44:34 +02:00
parent ce766427da
commit cdf6bc6fa5

View file

@ -286,7 +286,7 @@ fn get_aspect_names_for_aspect_position(config_name: &'static str, value: &Optio
_ => warn!("'{}' configuration key should contain Array, does not", config_name), _ => warn!("'{}' configuration key should contain Array, does not", config_name),
}; };
}, },
None => warn!("No store configuration"), None => warn!("No store configuration, cannot get '{}'", config_name),
_ => warn!("Configuration is not a table"), _ => warn!("Configuration is not a table"),
} }
v v