Print what the server returned for our query
1 files changed, 7 insertions(+), 1 deletions(-) M main.go
M main.go => main.go +7 -1
@@ 43,7 43,13 @@ func main() { } col, ok := it.(vocab.CollectionInterface) if !ok { log.Fatalf("Unable to convert ActivityPub object of type %s to a Collection type", it.GetType()) log.Printf("Unable to convert ActivityPub object of type %s to a Collection type", it.GetType()) ss, err := vocab.MarshalJSON(it) if err != nil { log.Printf("err: %+s %s\n", err) } log.Printf("%s\n", ss) os.Exit(1) } next := getNextCollectionPage(col)