Skip to content

Commit

Permalink
Remove outdated information about GitHub permission error
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Dec 30, 2020
1 parent a215d5f commit dfc615d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,11 @@ fn handle_error_response(app: &App, error: &reqwest::Error) -> Box<dyn AppError>
match error.status() {
Some(Status::UNAUTHORIZED) | Some(Status::FORBIDDEN) => cargo_err(&format!(
"It looks like you don't have permission \
to query a necessary property from Github \
to query a necessary property from GitHub \
to complete this request. \
You may need to re-authenticate on \
crates.io to grant permission to read \
github org memberships. Just go to \
https://{}/login",
app.config.domain_name,
GitHub org memberships."
)),
Some(Status::NOT_FOUND) => not_found(),
_ => internal(&format_args!(
Expand Down

0 comments on commit dfc615d

Please sign in to comment.