From 1eda3258dedd100c9e4076f41231e17716e682cc Mon Sep 17 00:00:00 2001 From: shortcutme Date: Tue, 17 Dec 2019 14:23:31 +0100 Subject: [PATCH] Always raise error on verify error --- src/Content/ContentManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content/ContentManager.py b/src/Content/ContentManager.py index dc9d5144..4ee02bfb 100644 --- a/src/Content/ContentManager.py +++ b/src/Content/ContentManager.py @@ -891,7 +891,7 @@ class ContentManager(object): self.site.settings["size_optional"] = site_size_optional return True else: - return False + raise VerifyError("Content verify error") def verifyContentInclude(self, inner_path, content, content_size, content_size_optional): # Load include details