Skip to content

Commit

Permalink
Don't kill the process when we cannot find the baseurl
Browse files Browse the repository at this point in the history
  • Loading branch information
tidusjar committed Mar 1, 2021
1 parent 36af39e commit 0d97d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ombi/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ await strat.ExecuteAsync(async () =>
{
var error = $"Can't set the base URL because we cannot find the file at '{indexPath}', if you are trying to set a base url please report this on Github!";
Console.WriteLine(error);
throw new Exception(error);
return;
}
var indexHtml = await File.ReadAllTextAsync(indexPath);
var sb = new StringBuilder(indexHtml);
Expand Down

0 comments on commit 0d97d23

Please sign in to comment.