Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when TMDB is not reacheable #84

Open
1 task done
samip5 opened this issue Apr 13, 2024 · 0 comments
Open
1 task done

Crash when TMDB is not reacheable #84

samip5 opened this issue Apr 13, 2024 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@samip5
Copy link

samip5 commented Apr 13, 2024

🔍 Is there already an issue for your problem?

  • I have checked older issues, open and closed

📝 Description

Application seems to crash if TMDB is not reacheable.

thread 'main' panicked at src/trakt.rs:130:22:
TMDB API call failed: Transport(Transport { kind: Io, message: None, url: Some(Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.themoviedb.org")), port: None, path: "/3/tv/106379/season/1/images", query: Some("api_key=21b815a75fec5f1e707e3da1b9b2d7e3"), fragment: None }), source: Some(Custom { kind: HostUnreachable, error: Transport(Transport { kind: Io, message: Some("Error encountered in the status line"), url: None, source: Some(Os { code: 65, kind: HostUnreachable, message: "No route to host" }) }) }) })

🪜 Steps To Reproduce

  1. Start the app
  2. Have it running without issues for a while
  3. TMDB has some hiccup and it crashes

ℹ System Info

OS: Darwin (MacOS 14.4.1)
Project: 1.5.0.

📸 Screenshots

No response

@afonsojramos afonsojramos added the 🐛 bug Something isn't working label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants