Skip to content

Commit

Permalink
fix: Add \n in info!
Browse files Browse the repository at this point in the history
  • Loading branch information
IshanGrover2004 committed Jul 10, 2024
1 parent 461215e commit df7409c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rust/lib_ccxr/src/util/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ impl<'a> CCExtractorLogger {
/// Used for logging errors dangerous enough to crash the program instantly.
pub fn log_fatal(&self, exit_cause: ExitCause, args: &Arguments<'a>) -> ! {
self.log_error(args);
info!("Issues? Open a ticket here");
info!("https://github.com/CCExtractor/ccextractor/issues");
info!("Issues? Open a ticket here\n");
info!("https://github.com/CCExtractor/ccextractor/issues\n");
std::process::exit(exit_cause.exit_code())
}

Expand Down Expand Up @@ -486,7 +486,7 @@ macro_rules! error {
/// # Examples
/// ```no_run
/// # use lib_ccxr::util::log::*;
/// info!("Processing the header section");
/// info!("Processing the header section\n");
/// ```
#[macro_export]
macro_rules! info {
Expand Down

0 comments on commit df7409c

Please sign in to comment.