mirror of
https://github.com/Hopiu/lychee.git
synced 2026-04-04 13:40:37 +00:00
Make error message for broken file links more understandable
This commit is contained in:
parent
961f12e58e
commit
bdcd6f87bf
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ impl Display for ErrorKind {
|
|||
Self::UrlParseError(s, (url_err, None)) => {
|
||||
write!(f, "Cannot parse {} as website url ({})", s, url_err)
|
||||
}
|
||||
Self::InvalidFilePath(u) => write!(f, "Invalid file URI: {}", u),
|
||||
Self::InvalidFilePath(u) => write!(f, "Cannot find file {}", u),
|
||||
Self::InvalidURI(u) => write!(f, "Invalid URI: {}", u),
|
||||
Self::InvalidUrlFromPath(p) => {
|
||||
write!(f, "Invalid path to URL conversion: {}", p.display())
|
||||
|
|
|
|||
Loading…
Reference in a new issue