Skip to content

Commit 135a84e

Browse files
authored
console.error any errors from storage, including conflict (#941)
1 parent bb4a99c commit 135a84e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

runner/src/storage.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,9 @@ class StorageImpl implements Storage {
768768
updatesFromRetry.forEach(([doc, value]) =>
769769
this._batchForDoc(doc, value.value, value.source)
770770
);
771+
} else if (result.error) {
772+
log(() => ["storage error", result.error]);
773+
console.error("storage error", result.error);
771774
}
772775
return result;
773776
});

0 commit comments

Comments
 (0)