Don't kill the process when we cannot find the baseurl

pull/4081/head v4.0.1133
tidusjar 4 years ago
parent 36af39ebca
commit 0d97d23dde

@ -258,7 +258,7 @@ namespace Ombi
{
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);

Loading…
Cancel
Save