mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 04:49:33 -07:00
Don't kill the process when we cannot find the baseurl
This commit is contained in:
parent
36af39ebca
commit
0d97d23dde
1 changed files with 1 additions and 1 deletions
|
@ -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!";
|
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);
|
Console.WriteLine(error);
|
||||||
throw new Exception(error);
|
return;
|
||||||
}
|
}
|
||||||
var indexHtml = await File.ReadAllTextAsync(indexPath);
|
var indexHtml = await File.ReadAllTextAsync(indexPath);
|
||||||
var sb = new StringBuilder(indexHtml);
|
var sb = new StringBuilder(indexHtml);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue