private void _revisionGraphCommand_Error(object sender, AsyncErrorEventArgs e)
{
// This has to happen on the UI thread
this.InvokeAsync(o =>
{
Error.Visible = true;
//Error.BringToFront();
NoGit.Visible = false;
NoCommits.Visible = false;
Revisions.Visible = false;
Loading.Visible = false;
}, this);
DisposeRevisionGraphCommand();
this.InvokeAsync(() =>
{
throw e.Exception;
}
);
e.Handled = true;
}