Commit 1ea8e0de authored by Martin Finkel's avatar Martin Finkel

WPF: propagate inner exception

In some cases, like with docking frameworks (#384),
Show() is an invalid call, so surface that info in the VLCException
parent 8adbf0b3
......@@ -84,10 +84,10 @@ namespace LibVLCSharp.WPF
Show();
_wndhost.Focus();
}
catch
catch(Exception ex)
{
Hide();
throw new VLCException("Unable to create WPF Window in VideoView.");
throw new VLCException("Unable to create WPF Window in VideoView.", ex);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment