Skip to content

Commit 12d98fe

Browse files
Vaibhav DevmurariAndroid (Google) Code Review
authored andcommitted
Merge "Shift error log to info for rust data store" into main
2 parents 83487df + e13230c commit 12d98fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libs/input/rust/data_store.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
//! Contains the DataStore, used to store input related data in a persistent way.
1818
1919
use crate::input::KeyboardType;
20-
use log::{debug, error};
20+
use log::{debug, error, info};
2121
use serde::{Deserialize, Serialize};
2222
use std::fs::File;
2323
use std::io::{Read, Write};
@@ -157,7 +157,7 @@ impl FileReaderWriter for DefaultFileReaderWriter {
157157
let path = Path::new(&self.filepath);
158158
let mut fs_string = String::new();
159159
match File::open(path) {
160-
Err(e) => error!("couldn't open {:?}: {}", path, e),
160+
Err(e) => info!("couldn't open {:?}: {}", path, e),
161161
Ok(mut file) => match file.read_to_string(&mut fs_string) {
162162
Err(e) => error!("Couldn't read from {:?}: {}", path, e),
163163
Ok(_) => debug!("Successfully read from file {:?}", path),

0 commit comments

Comments
 (0)