mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Added prefix launcher option to launcher arguments.
This commit is contained in:
parent
dd69808b24
commit
09938ce932
11 changed files with 122 additions and 228 deletions
|
|
@ -56,6 +56,10 @@ namespace ServerManagerTool.Updater
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (ex.InnerException != null)
|
||||
{
|
||||
OutputError(ex.InnerException.Message, null);
|
||||
}
|
||||
OutputError(ex.Message, ex.StackTrace);
|
||||
Environment.ExitCode = 1;
|
||||
|
||||
|
|
@ -92,6 +96,10 @@ namespace ServerManagerTool.Updater
|
|||
private static void OutputError(string error, string stackTrace)
|
||||
{
|
||||
Console.WriteLine($"ERROR: {error}");
|
||||
#if DEBUG
|
||||
if (!string.IsNullOrWhiteSpace(stackTrace))
|
||||
Console.WriteLine(stackTrace);
|
||||
#endif
|
||||
}
|
||||
|
||||
private static void OutputMessage(string message)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue