Skip to content

Commit

Permalink
Added an messagebox warning when running on .NET and have no settings…
Browse files Browse the repository at this point in the history
… configured
  • Loading branch information
uilton-oliveira committed Dec 15, 2017
1 parent 92dc9a2 commit 454f15f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion SonarrScanner/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@ static void Main(string[] args)
}
if (!anyTrue)
{
Console.WriteLine("All monitors startup failed, make sure that you configured the config file correctly, aborting...");
var err = "All monitors startup failed, make sure that you configured the config file (settings_radarr.json and/or settings_sonarr.json) correctly, aborting...";
Console.WriteLine(err);
if (!Utiliy.IsRunningOnMono())
{
MessageBox.Show(err);
}
Exit();
}

Expand Down

0 comments on commit 454f15f

Please sign in to comment.