diff --git a/docs/rustdoc/master/settings.html b/docs/rustdoc/master/settings.html index 831d53e3d..58f6b5aa7 100644 --- a/docs/rustdoc/master/settings.html +++ b/docs/rustdoc/master/settings.html @@ -1,5 +1,5 @@ Rustdoc settings -

Rustdoc settings

Theme preferences
Use system theme
Preferred dark theme
Preferred light theme
-
Auto-hide item contents for large items.
Auto-hide item methods' documentation
Auto-hide trait implementation documentation
Directly go to item in search if there is only one result
Show line numbers on code examples
Disable keyboard shortcuts
+

Rustdoc settings

Theme preferences
Use system theme
Preferred dark theme
Preferred light theme
+
Auto-hide item contents for large items.
Auto-hide item methods' documentation
Auto-hide trait implementation documentation
Directly go to item in search if there is only one result
Show line numbers on code examples
Disable keyboard shortcuts
\ No newline at end of file diff --git a/docs/rustdoc/master/src/kanidm_client/lib.rs.html b/docs/rustdoc/master/src/kanidm_client/lib.rs.html index ed4bbd816..d55f2a69d 100644 --- a/docs/rustdoc/master/src/kanidm_client/lib.rs.html +++ b/docs/rustdoc/master/src/kanidm_client/lib.rs.html @@ -1129,9 +1129,9 @@ } // TODO #253: Handle these errors better, or at least provide diagnostics? - let mut f = File::open(ca_path).map_err(|_| ())?; - f.read_to_end(&mut buf).map_err(|_| ())?; - reqwest::Certificate::from_pem(&buf).map_err(|_| ()) + let mut f = File::open(ca_path).map_err(|e| {error!(?e);})?; + f.read_to_end(&mut buf).map_err(|e| {error!(?e);})?; + reqwest::Certificate::from_pem(&buf).map_err(|e| {error!(?e);}) } fn apply_config_options(self, kcc: KanidmClientConfig) -> Result<Self, ()> { @@ -1207,10 +1207,10 @@ let mut contents = String::new(); f.read_to_string(&mut contents) - .map_err(|e| eprintln!("{:?}", e))?; + .map_err(|e| error!("{:?}", e))?; let config: KanidmClientConfig = - toml::from_str(contents.as_str()).map_err(|e| eprintln!("{:?}", e))?; + toml::from_str(contents.as_str()).map_err(|e| error!("{:?}", e))?; self.apply_config_options(config) }