Skip to content

Commit

Permalink
Improved error message, nr. 2
Browse files Browse the repository at this point in the history
  • Loading branch information
legendofa committed Feb 14, 2024
1 parent bd32067 commit 6aab10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/authentication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl TryFrom<&HeaderMap> for AuthorizedUserHeader {
return Ok(authenticate_user_header);
}
}
Err(Error::new("Authorized-User header could not be parsed."))
Err(Error::new("Authentication failed. Authorized-User header is not set or could not be parsed."))
}
}

Expand Down

0 comments on commit 6aab10e

Please sign in to comment.