raycast / extensions

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

[Linguee] Something went wrong #5002

Closed bulutfatih closed 1 year ago

bulutfatih commented 1 year ago

Extension

https://www.raycast.com/geekdada/linguee

Description

Error:

CanceledError: canceled

I get this error too often. Mostly when I open it first time and try to type something, after a few characters, it crashes. Or try a few consecutive requests can cause error. I don't understand, but it happens quite often. You can see the video. I got this error at least 5 times in a minute.

https://user-images.githubusercontent.com/28598997/221439641-ef5bd158-ab0b-4868-a914-e3b839d50ed0.mp4

Steps To Reproduce

  1. Open English-German dictionary
  2. Try to type fernsehgerät. (don't copy paste)

Current Behaviour

No response

Expected Behaviour

No response

raycastbot commented 1 year ago

Thank you for opening this issue!

🔔 @geekdada you might want to have a look.

💡 Tip: Once the issue is resolved, comment @raycastbot close this issue to close it.

bulutfatih commented 1 year ago

Added reproduce step with a better one, @geekdada.

geekdada commented 1 year ago

The old implementation doesn't allow Raycast to cancel an ongoing request, which I suspect is the cause of your issue. The PR migrates the related part to the Raycast suggested way. Please have a look later when you see this issue is closed.

geekdada commented 1 year ago

@raycastbot close this issue

bulutfatih commented 1 year ago

@geekdada Thank you so much for your effort! I appreciate it. 🚀