change error to info

This commit is contained in:
Ralph Caraveo 2020-07-10 21:28:20 -07:00
parent a9043e3c5b
commit 0c49adcc12

View File

@ -17,7 +17,7 @@
* along with espanso. If not, see <https://www.gnu.org/licenses/>.
*/
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