Change language from fatal startup exceptions
The previous language was true but slightly unhelpful to non-native English speakers and users who aren't familiar with server software. When a fatal startup exception occurs now, TShock tells you what this means and that it won't be able to start until this is resolved.
This commit is contained in:
parent
106daa9f5a
commit
07becc3c8f
2 changed files with 3 additions and 1 deletions
|
|
@ -386,7 +386,8 @@ namespace TShockAPI
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.ConsoleError("Fatal Startup Exception");
|
||||
Log.ConsoleError("TShock encountered a problem from which it cannot recover. The following message may help diagnose the problem.");
|
||||
Log.ConsoleError("Until the problem is resolved, TShock will not be able to start (and will crash on startup).");
|
||||
Log.ConsoleError(ex.ToString());
|
||||
Environment.Exit(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue