Fixed missing proper SearchdomainNotFoundException in SearchdomainManager

This commit is contained in:
2025-12-13 17:15:15 +01:00
parent b7761479c8
commit 4f3354c038

View File

@@ -53,7 +53,7 @@ public class SearchdomainManager
catch (MySqlException)
{
_logger.LogError("Unable to find the searchdomain {searchdomain}", searchdomain);
throw new Exception($"Unable to find the searchdomain {searchdomain}");
throw new SearchdomainNotFoundException(searchdomain);
}
catch (Exception ex)
{