mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Catch and throw exceptions
This commit is contained in:
parent
1f54a7c247
commit
e52fe6cb8b
1 changed files with 6 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue