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