Added moonlight side dns check for ssl

This commit is contained in:
Marcel Baumgartner
2023-06-17 13:38:32 +02:00
parent 6707d722e0
commit 3ae905038c
4 changed files with 81 additions and 13 deletions

View File

@@ -47,9 +47,18 @@ else
if (exception is DisplayException displayException)
{
await AlertService.Error(
SmartTranslateService.Translate(displayException.Message)
);
if (displayException.DoNotTranslate)
{
await AlertService.Error(
displayException.Message
);
}
else
{
await AlertService.Error(
SmartTranslateService.Translate(displayException.Message)
);
}
}
else if (exception is CloudflareException cloudflareException)
{