Here's the scenario: I have an action method called SavePoint that contains some logic and throws a System.ArgumentException with the message "Error, no point found".
Additionally, there is an ajax function named saveFeature which makes a GET request to the url "/Feature/SavePoint", sending some JSON data. In case of success, it executes a callback function, and in case of error, it displays an alert with the thrown error.
The issue arises when trying to display the exception message "Error, no point found" using the thrownError parameter in the error handler of the ajax call. For some reason, thrownError turns out to be empty. Any thoughts on why the error message is not being displayed properly?