tangled
alpha
login
or
join now
vielle.dev
/
pdsls
forked from
pds.ls/pdsls
0
fork
atom
atproto explorer
0
fork
atom
overview
issues
pulls
pipelines
catch op logs validation errors
handle.invalid
6 months ago
3ed17606
414d5038
+5
-1
1 changed file
expand all
collapse all
unified
split
src
views
repo.tsx
+5
-1
src/views/repo.tsx
···
454
454
const json = await response.json();
455
455
try {
456
456
const logs = defs.indexedEntryLog.parse(json);
457
457
-
await processIndexedEntryLog(did as any, logs);
457
457
+
try {
458
458
+
await processIndexedEntryLog(did as any, logs);
459
459
+
} catch (e) {
460
460
+
console.error(e);
461
461
+
}
458
462
const opHistory = createOperationHistory(logs).reverse();
459
463
setPlcOps(Array.from(groupBy(opHistory, (item) => item.orig)));
460
464
setLoading(false);