mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-07 20:08:32 +02:00
Expand a bit on error handling
This commit is contained in:
+1
-2
@@ -108,8 +108,7 @@ client.upsert(
|
|||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
A good practice is to always make sure both operations succeed, and if one of them fails, you should handle the
|
A good practice is to always ensure that both operations succeed. Any errors need to be handled on the client side. You could store errors in a log or "dead letter queue" for later processing. Transient errors can be retried at a later time. Other errors need to be analyzed and addressed accordingly.
|
||||||
error appropriately, for example, by retrying the operation.
|
|
||||||
|
|
||||||
<aside role="status">
|
<aside role="status">
|
||||||
This example is an overly simplified version of the code, but it illustrates the idea. Practically, it makes a lot
|
This example is an overly simplified version of the code, but it illustrates the idea. Practically, it makes a lot
|
||||||
|
|||||||
Reference in New Issue
Block a user