You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panic!("Github App authorization is required to target an installation");
Would be nicer to return an Error result (like other functions that return different types of Octocrabs do) instead of panicking so the application using doesn't immediately crash out
The text was updated successfully, but these errors were encountered:
…installation` (#687)
* fix(installation)!: Return Result instead of panicking
Refs: #641
BREAKING CHANGE: `Octocrab::installation` now returns a Result, changing
the public API.
* refactor(error)!: add `installation` variant
Adds a new variant `Installation` on the Error enum and also makes the
enum non-exhaustive to prevent further breaking changes when adding new
variants in the future.
* style: remove unused import
* style: remove unnecessary error let binding
* refactor: remove installation error message
octocrab/src/lib.rs
Line 981 in 7e280be
Would be nicer to return an Error result (like other functions that return different types of Octocrabs do) instead of panicking so the application using doesn't immediately crash out
The text was updated successfully, but these errors were encountered: