mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Added more logging into the updater
This commit is contained in:
parent
7c86d20846
commit
a214ecd67e
1 changed files with 5 additions and 2 deletions
|
@ -50,6 +50,7 @@ namespace Ombi.Updater
|
|||
|
||||
private void StartOmbi(StartupOptions options)
|
||||
{
|
||||
var startupArgsBuilder = new StringBuilder();
|
||||
_log.LogDebug("Starting ombi");
|
||||
var fileName = "Ombi.exe";
|
||||
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
||||
|
@ -73,7 +74,6 @@ namespace Ombi.Updater
|
|||
}
|
||||
else
|
||||
{
|
||||
var startupArgsBuilder = new StringBuilder();
|
||||
if (!string.IsNullOrEmpty(options.Host))
|
||||
{
|
||||
startupArgsBuilder.Append($"--host {options.Host} ");
|
||||
|
@ -96,7 +96,10 @@ namespace Ombi.Updater
|
|||
}
|
||||
}
|
||||
|
||||
_log.LogDebug("Ombi started, now exiting");
|
||||
_log.LogDebug($"Ombi started, now exiting");
|
||||
_log.LogDebug($"Working dir: {options.ApplicationPath} (Application Path)");
|
||||
_log.LogDebug($"Filename: {Path.Combine(options.ApplicationPath, fileName)}");
|
||||
_log.LogDebug($"Startup Args: {startupArgsBuilder.ToString()}");
|
||||
Environment.Exit(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue