From 8834e093358666c07eb98ce7a78cb41a004082f7 Mon Sep 17 00:00:00 2001 From: pyshx Date: Wed, 30 Aug 2023 10:25:12 +0530 Subject: [PATCH] chore(server): add debug log to parsefromurl --- server/pkg/plugin/manifest/parser.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/pkg/plugin/manifest/parser.go b/server/pkg/plugin/manifest/parser.go index 39903b6b04..16475430a9 100644 --- a/server/pkg/plugin/manifest/parser.go +++ b/server/pkg/plugin/manifest/parser.go @@ -11,6 +11,7 @@ import ( "github.com/goccy/go-yaml" "github.com/reearth/reearth/server/pkg/plugin" + "github.com/reearth/reearthx/log" ) var ( @@ -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