After running it for a few days/week on my server, it broke and the following error was shown (it's either something on my end or Spotify - error deserializing via serde)
INFO currently_playing_spotify::auth: Querying Spotify access token auth API
thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Decode, source: Error("expected value", line: 2, column: 1) }', src/auth.rs:111:69
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted (core dumped)
Should probably handle the Option instead of unwrapping https://github.com/BenJeau/currently_playing_spotify/blob/main/src/auth.rs#L111
After running it for a few days/week on my server, it broke and the following error was shown (it's either something on my end or Spotify - error deserializing via serde)
Should probably handle the Option instead of unwrapping https://github.com/BenJeau/currently_playing_spotify/blob/main/src/auth.rs#L111