fork of indigo with slightly nicer lexgen

actual un-checked error fixes

Changed files
+9 -2
atproto
lexicon
cmd
lextool
repo
+3
atproto/lexicon/cmd/lextool/net.go
··· 65 65 } 66 66 67 67 body, err := data.UnmarshalJSON(respBytes) 68 + if err != nil { 69 + return err 70 + } 68 71 record, ok := body["value"].(map[string]any) 69 72 if !ok { 70 73 return fmt.Errorf("fetched record was not an object")
+3 -1
atproto/repo/mst/node_insert.go
··· 66 66 } 67 67 68 68 // include "covering" proof for this operation 69 - proveMutation(n, key) 69 + if err := proveMutation(n, key); err != nil { 70 + return nil, nil, err 71 + } 70 72 71 73 if !split { 72 74 // TODO: is this really necessary? or can we just slices.Insert beyond the end of a slice?
+3 -1
atproto/repo/mst/node_remove.go
··· 61 61 } 62 62 63 63 // marks adjacent child nodes dirty to include as "proof" 64 - proveMutation(n, key) 64 + if err := proveMutation(n, key); err != nil { 65 + return nil, nil, err 66 + } 65 67 66 68 // check if top of node is now just a pointer 67 69 if top {