@@ -5,6 +5,7 @@ use chrono::{DateTime, Datelike, FixedOffset};
55use clap:: { CommandFactory , Parser } ;
66use config_file:: FromConfigFile ;
77use core:: str;
8+ use clap:: crate_authors;
89use log:: { debug, error, info, trace, warn} ;
910use ocsp:: common:: asn1:: Bytes ;
1011use ocsp:: common:: ocsp:: { OcspExt , OcspExtI } ;
@@ -361,7 +362,7 @@ async fn upload(
361362 error ! ( "Error creating OCSP response." ) ;
362363 debug ! (
363364 "Error creating OCSP response: {}" ,
364- resp. unwrap_err( ) . to_string ( )
365+ resp. unwrap_err( )
365366 ) ;
366367 return Ok ( (
367368 custom,
@@ -476,7 +477,7 @@ fn rocket() -> rocket::Rocket<rocket::Build> {
476477 let config_path = & cli. config_path ;
477478
478479 if !Path :: new ( config_path) . exists ( ) {
479- eprintln ! ( "Error: Config file not found at: {}" , config_path) ;
480+ eprintln ! ( "Error: Config file not found at: {}" , config_path. display ( ) ) ;
480481 eprintln ! ( "\n Usage information:" ) ;
481482 let mut cli_command = Cli :: command ( ) ;
482483 if let Err ( err) = cli_command. print_help ( ) {
@@ -488,7 +489,7 @@ fn rocket() -> rocket::Rocket<rocket::Build> {
488489 let config = match Fileconfig :: from_config_file ( config_path) {
489490 Ok ( config) => config,
490491 Err ( e) => {
491- eprintln ! ( "Error: Reading config file at {}: {}" , config_path, e) ;
492+ eprintln ! ( "Error: Reading config file at {}: {}" , config_path. display ( ) , e) ;
492493 eprintln ! ( "\n Usage information:" ) ;
493494 let mut cli_command = Cli :: command ( ) ;
494495 if let Err ( err) = cli_command. print_help ( ) {
0 commit comments