diff --git a/internal/uri/uri.go b/internal/uri/uri.go index f50c3f2b..6448af99 100644 --- a/internal/uri/uri.go +++ b/internal/uri/uri.go @@ -109,7 +109,7 @@ func PathFromURI(rawUri string) (string, error) { func MustParseURI(rawUri string) string { uri, err := parseUri(rawUri) if err != nil { - panic(fmt.Sprintf("invalid URI: %s", uri)) + panic(fmt.Sprintf("invalid URI: %s", rawUri)) } return uri.String()