From 4f3354c0383f1e0bb40b7925b99933651952d0ab Mon Sep 17 00:00:00 2001 From: LD-Reborn Date: Sat, 13 Dec 2025 17:15:15 +0100 Subject: [PATCH] Fixed missing proper SearchdomainNotFoundException in SearchdomainManager --- src/Server/SearchdomainManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Server/SearchdomainManager.cs b/src/Server/SearchdomainManager.cs index 9b87b8a..855cac7 100644 --- a/src/Server/SearchdomainManager.cs +++ b/src/Server/SearchdomainManager.cs @@ -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) {