Bug fix,for Immersive Farm 2 Remastered

This commit is contained in:
ZaneYork 2020-03-14 13:37:18 +08:00
parent 85179c7e97
commit 9de08f81b1
1 changed files with 6 additions and 0 deletions

View File

@ -187,6 +187,12 @@ namespace StardewModdingAPI
this.Finish(); this.Finish();
}); });
} }
catch (Exception ex)
{
SAlertDialogUtil.AlertMessage($"SMAPI failed to initialize: {ex}");
Microsoft.AppCenter.Crashes.Crashes.TrackError(ex);
this.Finish();
}
} }
public new void CheckAppPermissions() public new void CheckAppPermissions()