this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Changed error handling during blob export command in goat to help with account migration (#1073)

Prints the error and continues rather than bailing entirely during blob
export. Slightly worse in the "i have a connection problem" scenario,
but means repository exports where some blobs are missing actually work
now rather than getting stuck.

Was trying to migrate my main to my own PDS and ran into it, and figured
addressing it would be both simple enough and useful to others trying to
do the same.

authored by

bnewbold and committed by
GitHub
f441353c 9d849ab2

+2 -1
+2 -1
cmd/goat/blob.go
··· 113 113 } 114 114 blobBytes, err := comatproto.SyncGetBlob(ctx, &xrpcc, cidStr, ident.DID.String()) 115 115 if err != nil { 116 - return err 116 + fmt.Printf("%s\tfailed %s\n", blobPath, err) 117 + continue 117 118 } 118 119 if err := os.WriteFile(blobPath, blobBytes, 0666); err != nil { 119 120 return err