This commit is contained in:
2025-06-23 09:37:53 +05:30
parent 2fbdf8ab61
commit 54b02541c1
278 changed files with 10134 additions and 7904 deletions

View File

@@ -24,9 +24,9 @@ export const deleteZonesApi = async (
} catch (error) {
echo.error("Failed to delete zone");
if (error instanceof Error) {
throw new Error(error.message);
console.log(error.message);
} else {
throw new Error("An unknown error occurred");
console.log("An unknown error occurred");
}
}
};