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
const json = await response.json();
455
try {
456
const logs = defs.indexedEntryLog.parse(json);
457
-
await processIndexedEntryLog(did as any, logs);
0
0
0
0
458
const opHistory = createOperationHistory(logs).reverse();
459
setPlcOps(Array.from(groupBy(opHistory, (item) => item.orig)));
460
setLoading(false);
···
454
const json = await response.json();
455
try {
456
const logs = defs.indexedEntryLog.parse(json);
457
+
try {
458
+
await processIndexedEntryLog(did as any, logs);
459
+
} catch (e) {
460
+
console.error(e);
461
+
}
462
const opHistory = createOperationHistory(logs).reverse();
463
setPlcOps(Array.from(groupBy(opHistory, (item) => item.orig)));
464
setLoading(false);