mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Launcher: Added main VM ctor trycatch to print to err console
Until we add a full log system to the launcher, this will hopefully give us some info that people can see if starting through a console
This commit is contained in:
parent
2009bfde6a
commit
6f75aa44a4
@ -22,8 +22,17 @@ namespace Wabbajack.Launcher
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
DataContext = new MainWindowVM();
|
||||
InitializeComponent();
|
||||
try
|
||||
{
|
||||
DataContext = new MainWindowVM();
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
System.Console.Error.WriteLine("Error creating datacontext.");
|
||||
System.Console.Error.WriteLine(ex);
|
||||
throw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user