This commit is contained in:
Andras Schmelczer 2026-04-26 12:46:12 +01:00
parent 8eae770621
commit 8b7be48522
13 changed files with 37 additions and 28 deletions

View file

@ -70,7 +70,7 @@ export class SyncService {
response: Response,
operation: string
): Promise<void> {
if (response.ok) return;
if (response.ok) {return;}
const message = `Failed to ${operation}: ${await SyncService.errorFromResponse(response)}`;
// 429 is the only 4xx the server uses for *transient* contention
// (`WriteBusyError` → HTTP 429). Every other 4xx means the request