From 0c49adcc129d38372a1c04cb9dfb5f3afe5a43bf Mon Sep 17 00:00:00 2001 From: Ralph Caraveo Date: Fri, 10 Jul 2020 21:28:20 -0700 Subject: [PATCH] change error to info --- src/extension/shell.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension/shell.rs b/src/extension/shell.rs index 05a51b0..ad3dad5 100644 --- a/src/extension/shell.rs +++ b/src/extension/shell.rs @@ -17,7 +17,7 @@ * along with espanso. If not, see . */ -use log::{error, warn}; +use log::{info, error, warn}; use regex::{Captures, Regex}; use serde_yaml::{Mapping, Value}; use std::process::{Command, Output}; @@ -181,7 +181,7 @@ impl super::Extension for ShellExtension { }; if with_debug { - error!("debug for shell cmd '{}', exit_status '{}', stdout '{}', stderr '{}'", cmd, output.status, output_str, error_str); + info!("debug for shell cmd '{}', exit_status '{}', stdout '{}', stderr '{}'", cmd, output.status, output_str, error_str); } // If specified, trim the output