Fix the server not reporting startup errors correctly.
This commit is contained in:
parent
48370d74b7
commit
f7c550a8ad
1 changed files with 2 additions and 2 deletions
|
|
@ -387,8 +387,8 @@ namespace TShockAPI
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Log.Error("Fatal Startup Exception");
|
Log.ConsoleError("Fatal Startup Exception");
|
||||||
Log.Error(ex.ToString());
|
Log.ConsoleError(ex.ToString());
|
||||||
Environment.Exit(1);
|
Environment.Exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue