April 27, 2021 [Issue 16783] std.net.curl application throws an exception | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16783 Berni44 <bugzilla@bernis-buecher.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@bernis-buecher.de --- Comment #7 from Berni44 <bugzilla@bernis-buecher.de> --- Some analysis: Function pty https://github.com/dlang/phobos/blob/master/std/concurrency.d#L2239 receives a VariantN containing a "std.net.curl.CurlException@/home/D/Repo/dmd/generated/linux/release/64/../../../../../phobos/std/net/curl.d(5279): Couldn't resolve host name on handle 5654F7BC4F50" but cannot convert this to Throwable and hence throws a PriorityMessageException. I think that the "convertsTo" check doesn't work correctly and thus does not throw this exception as expected. (I know too little about std.variant to continue here.) Further, I think, the PriorityMessageException could be improved to tell more details about its parameter "vals" in its message. Maybe super("Priority message: " ~ vals.stringof); would be better. -- |
December 17, 2022 [Issue 16783] std.net.curl application throws an exception | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16783 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 -- |
Copyright © 1999-2021 by the D Language Foundation