Catch another place were MessageBox.Show was used

This commit is contained in:
Antony Male 2014-05-21 12:23:58 +01:00
parent 0ba6061e59
commit 8a93640ad8
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ namespace StyletIntegrationTests
var message = e.Exception.Message;
if (e.Exception is TargetInvocationException)
message = e.Exception.InnerException.Message;
MessageBox.Show(String.Format("Unhandled Exception: {0}", message));
IoC.Get<IWindowManager>().ShowMessageBox(String.Format("Unhandled Exception: {0}", message));
e.Handled = true;
}
}