You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my main() function I have a try/catch block that catches std::exception. When I print err.what() the output is just "exception", and the original message "Couldn't connect to server" is lost.
I don't want to include curlcpp files in my main.cpp, so I can't access the original exception type.
The text was updated successfully, but these errors were encountered:
In my main() function I have a try/catch block that catches std::exception. When I print err.what() the output is just "exception", and the original message "Couldn't connect to server" is lost.
I don't want to include curlcpp files in my main.cpp, so I can't access the original exception type.
The text was updated successfully, but these errors were encountered: