Skip to content

Commit

Permalink
Merge pull request #84 from theBeginner86/thebeginner86/chore/8
Browse files Browse the repository at this point in the history
[debug] add debug statements
  • Loading branch information
theBeginner86 authored Jan 1, 2025
2 parents 8223f2b + 7b57386 commit 03c1c0e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/kanvas-snapshot/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,13 @@ func GenerateSnapshot(contentID, assetLocation string, ghAccessToken string) err
return err
}
defer resp.Body.Close()
fmt.Println(resp.Status)
bdy, err := io.ReadAll(resp.Body)
if err != nil {
fmt.Println(err)
return err
}
fmt.Println(string(bdy))

return nil
}
Expand Down

0 comments on commit 03c1c0e

Please sign in to comment.