Update of task #7103 (project wormux):
Assigned to: None => kurosu
_______________________________________________________
Follow-up Comment #13:
Attaching a patch to remove the throws in lib/wormux/net.
The error from Downloader is stored in a std::string available to users
through ::GetLastError(). It's up to the caller to use it to display the
error. In addition, I'm also retrieving the human-readable error message from
CURL for the same intent.
Therefore, in IndexServer, the error is printed to stderr; anyway only
connection_state_t was used to report the error. Maybe this could be
corrected (like CONN_INTERNAL_ERROR, and then Question asking to check the
logs for further details, in case we don't want to pump the error up).
(file #9268)
_______________________________________________________
Additional Item Attachment:
File name: net_exceptions.diff Size:5 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/task/?7103>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna