Skip to content

Commit 9653e5e

Browse files
authored
Improve error message
1 parent 77282c6 commit 9653e5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/forge.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function assert_check_endpoint_url(url::AbstractString)
175175

176176
# Roundtrip the URL through `URIs.resolvereference()`, and make sure it is unchanged
177177
if url != URIs.resolvereference("https://example.invalid/", url).path
178-
throw(ArgumentError("URLs cannot contain path navigation"))
178+
throw(ArgumentError("URLs cannot contain path navigation: $(url)"))
179179
end
180180

181181
return nothing

0 commit comments

Comments
 (0)