Skip to content

Commit 5d40cc6

Browse files
committed
ok
1 parent c44d259 commit 5d40cc6

File tree

1 file changed

+3
-3
lines changed
  • src/Elastic.Markdown/Helpers

1 file changed

+3
-3
lines changed

src/Elastic.Markdown/Helpers/Htmx.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ public static string GetHxAttributes(FeatureFlags features, string? pathPrefix,
6262

6363
internal sealed class InvalidUrlException : ArgumentException
6464
{
65-
public InvalidUrlException(string message, string currentUrl, int startIndex)
66-
: base(message)
65+
public InvalidUrlException(string message, string url, int startIndex)
66+
: base($"{message} (Url: {url}, StartIndex: {startIndex})")
6767
{
68-
Data["CurrentUrl"] = currentUrl;
68+
Data["Url"] = url;
6969
Data["StartIndex"] = startIndex;
7070
}
7171
}

0 commit comments

Comments
 (0)