atproto explorer

catch op logs validation errors

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