Skip to content

Commit

Permalink
fix: adjust log text
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzgydi authored Aug 19, 2022
1 parent c611a51 commit 3f58d05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src-tauri/src/core/profiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl Profiles {
}
}

bail!("failed to get the item by \"{}\"", uid);
bail!("failed to get the profile item \"uid:{uid}\"");
}

/// append new item
Expand Down Expand Up @@ -178,7 +178,7 @@ impl Profiles {
}

self.items = Some(items);
bail!("failed to found the uid \"{uid}\"")
bail!("failed to find the profile item \"uid:{uid}\"")
}

/// be used to update the remote item
Expand Down Expand Up @@ -286,7 +286,7 @@ impl Profiles {
return Ok(config::read_yaml::<Mapping>(file_path.clone()));
}
}
bail!("failed to found the uid \"{current}\"");
bail!("failed to find current profile \"uid:{current}\"");
}

/// generate the data for activate clash config
Expand Down

0 comments on commit 3f58d05

Please sign in to comment.