You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where filterContextExpirations(err) should return nil if the error was caused by an expired document context (in this case the document has changed since the request has started processing and the request is cancelled) and err otherwise.
The text was updated successfully, but these errors were encountered:
slrtbtfs
changed the title
Proper error handling of cache errors
Proper handling of cache errors
Jul 8, 2020
Currently, errors that are raised when accessing the cache aren't properly forwarded to the language client.
For a more correct error handling, all the occurrences in the langserver package of stuff like
promql-langserver/langserver/completion.go
Lines 35 to 38 in a45e11c
should be replaced by something like
where
filterContextExpirations(err)
should returnnil
if the error was caused by an expired document context (in this case the document has changed since the request has started processing and the request is cancelled) anderr
otherwise.The text was updated successfully, but these errors were encountered: