https://issues.dlang.org/show_bug.cgi?id=16783
Berni44 <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from Berni44 <[email protected]> --- 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. --
