mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Fixed sab title issue
Added profiling to OpenSharedconnection
This commit is contained in:
parent
f6ccb5e17c
commit
5fb2c61c77
4 changed files with 27 additions and 18 deletions
|
@ -34,18 +34,21 @@ namespace NzbDrone
|
|||
#if DEBUG
|
||||
Attach();
|
||||
#endif
|
||||
try
|
||||
if (Environment.UserInteractive)
|
||||
{
|
||||
Logger.Info("Starting default browser. {0}",IISController.AppUrl);
|
||||
Process.Start(IISController.AppUrl);
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
Logger.ErrorException("Failed to open URL in default browser.", e);
|
||||
}
|
||||
while (true)
|
||||
{
|
||||
Console.ReadLine();
|
||||
try
|
||||
{
|
||||
Logger.Info("Starting default browser. {0}", IISController.AppUrl);
|
||||
Process.Start(IISController.AppUrl);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.ErrorException("Failed to open URL in default browser.", e);
|
||||
}
|
||||
while (true)
|
||||
{
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue