amingolmahalle / HttpClientToCurlGenerator

The HttpClientToCurl is a NuGet package for generating curl script of HttpClient in .NET ( C# | CSharp | Dotnet ) supported features: Post, Get, Put, and Delete. content types: application/json, text/xml, application/x-www-form-urlencoded
https://www.nuget.org/packages/HttpClientToCurl
MIT License
51 stars 11 forks source link

Show more details in case of errors #3

Closed Sabermotamedi closed 1 year ago

Sabermotamedi commented 1 year ago

I tried to find my error by your extension but I only received this message: "GenerateCurlError => Object reference not set to an instance of an object..".

Definitely, this message is not enough for me to find my fault it's better to be aware of which object is null or has a problem.

I will fix it.

amingolmahalle commented 1 year ago

Yes, You're right. it's better to show more detail about an error in the message. thanks to the issue.

Sabermotamedi commented 1 year ago

Thanks for your merge sure, I will show more detail