Catch and throw exceptions

This commit is contained in:
ReinforceZwei 2023-01-19 17:54:22 +08:00
parent 1f54a7c247
commit e52fe6cb8b

View file

@ -625,7 +625,12 @@ namespace MinecraftClient
{
throw;
}
catch (Exception) { }
catch (Exception e)
{
ConsoleIO.WriteLine(e.Message);
ConsoleIO.WriteLine(e.StackTrace ?? "");
HandleFailure(); // Other error
}
}
else HandleFailure(Translations.error_determine, true);
}