Skip to content

Commit

Permalink
Change error message
Browse files Browse the repository at this point in the history
  • Loading branch information
smrtrfszm committed Jul 29, 2024
1 parent 419dc55 commit e475066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam-common/src/id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl FromStr for Id {

fn from_str(s: &str) -> Result<Self, Self::Err> {
let Some((ty, id_str)) = s.split_once('-') else {
bail!("missing type");
bail!("invalid format");
};

let ty = IdType::from_str(ty)?;
Expand Down

0 comments on commit e475066

Please sign in to comment.