forked from cadey/xesite
log refresh token errors
Signed-off-by: Xe Iaso <me@christine.website>
This commit is contained in:
parent
fd6ac469a6
commit
3a4827c887
|
@ -20,7 +20,9 @@ pub struct Config {
|
|||
async fn patrons() -> Result<Option<patreon::Users>> {
|
||||
let mut cli = patreon::Client::new()?;
|
||||
|
||||
let _ = cli.refresh_token().await;
|
||||
if let Err(why) = cli.refresh_token().await {
|
||||
error!("error getting refresh token: {}", why);
|
||||
}
|
||||
|
||||
match cli.campaign().await {
|
||||
Ok(camp) => {
|
||||
|
|
Loading…
Reference in New Issue