Skip to content

Commit

Permalink
chore(server): add debug log to parsefromurl
Browse files Browse the repository at this point in the history
  • Loading branch information
pyshx committed Aug 30, 2023
1 parent 8619e79 commit 8834e09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/pkg/plugin/manifest/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (

"github.com/goccy/go-yaml"
"github.com/reearth/reearth/server/pkg/plugin"
"github.com/reearth/reearthx/log"
)

var (
Expand Down Expand Up @@ -62,6 +63,7 @@ func MustParseSystemFromBytes(source []byte, scene *plugin.SceneID, tl *Translat
}

func ParseFromUrl(ctx context.Context, u *url.URL) (*Manifest, error) {
log.Debugf("manifest url: %s", u.JoinPath("reearth.yml").String())
req, err := http.NewRequestWithContext(ctx, http.MethodGet, u.JoinPath("reearth.yml").String(), nil)
if err != nil {
return nil, err
Expand Down

0 comments on commit 8834e09

Please sign in to comment.