raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.38k stars 3.08k forks source link

[GitHub] Failed to fetch latest data #15278

Closed shyakadavis closed 1 day ago

shyakadavis commented 5 days ago

Extension

https://www.raycast.com/raycast/github

Raycast Version

1.85.1

macOS Version

13.6.9

Description

When opening the menu bar to inspect your GitHub notifications, it just throws an error Failed to fetch latest data.

Screenshot 2024-11-08 at 12 01 03

Steps To Reproduce

Click on the GitHub menu bar.

Current Behaviour

No data is shown, only an error.

Expected Behaviour

A list of notifications from GitHub

raycastbot commented 5 days ago

Thank you for opening this issue!

🔔 @thomaslombart @unnamedd @tonka3000 @khasbilegt @pernielsentikaer @loxygenK @oilbeater @LunaticMuch @aeorge @daquinoaldo @peppy @aeither @marcotf @qeude @nesl247 @xilopaint @antonengelhardt @bangerang @wottpal @LitoMore @d-mitrofanov-v @j3lte @jfkisafk @vlasischar @JavaLangRuntimeException you might want to have a look.

💡 Author and Contributors commands The author and contributors of `raycast/github` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot close as not planned` Closes the issue as not planned. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
thomaslombart commented 5 days ago

How many notifications do you have?

shyakadavis commented 5 days ago

@thomaslombart At the time of writing, 2 are unread.

thomaslombart commented 5 days ago

Does all of the other commands fail with the same error?

shyakadavis commented 5 days ago

No. Only when relying to on the menubar for unread notifications. (TBH, this is my majority use case of the extension)

shyakadavis commented 5 days ago

Screenshot 2024-11-08 at 13 06 42

thomaslombart commented 5 days ago

Probably because we're trying to fetch the issue/PR associated with it (cf. this line). A try/catch around this may do the trick. Would you like to work on this and open a PR?

shyakadavis commented 5 days ago

Sure, @thomaslombart I'll get to it.