|
|
@ -24,11 +24,13 @@ namespace DiscordChatExporter.Gui
|
|
|
|
builder.Bind<IViewModelFactory>().ToAbstractFactory();
|
|
|
|
builder.Bind<IViewModelFactory>().ToAbstractFactory();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if !DEBUG
|
|
|
|
protected override void OnUnhandledException(DispatcherUnhandledExceptionEventArgs e)
|
|
|
|
protected override void OnUnhandledException(DispatcherUnhandledExceptionEventArgs e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
base.OnUnhandledException(e);
|
|
|
|
base.OnUnhandledException(e);
|
|
|
|
|
|
|
|
|
|
|
|
MessageBox.Show(e.Exception.ToString(), "Error occured", MessageBoxButton.OK, MessageBoxImage.Error);
|
|
|
|
MessageBox.Show(e.Exception.ToString(), "Error occured", MessageBoxButton.OK, MessageBoxImage.Error);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|