error 404 defaults to "bad URI"
This commit is contained in:
parent
ece742a1e3
commit
97e9e41117
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ fn find_cause(
|
||||||
} else if let Some(share_id) = share_id {
|
} else if let Some(share_id) = share_id {
|
||||||
ClientError::InvalidParameter(sharry::Parameter::ShareID(share_id.to_owned()))
|
ClientError::InvalidParameter(sharry::Parameter::ShareID(share_id.to_owned()))
|
||||||
} else {
|
} else {
|
||||||
ClientError::unknown(error)
|
ClientError::InvalidParameter(sharry::Parameter::Uri(uri.to_string()))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ureq::Error::Io(error) => {
|
ureq::Error::Io(error) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue