From 95bbe5c7eaf0689f94f29a2e26d79670a7ff4a2f Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Wed, 10 Feb 2016 11:11:59 +0530 Subject: [PATCH] [hot] site-not-found is 404 --- frappe/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/exceptions.py b/frappe/exceptions.py index 0eb4af42e3..0912d12ed5 100644 --- a/frappe/exceptions.py +++ b/frappe/exceptions.py @@ -59,5 +59,5 @@ class InvalidEmailAddressError(ValidationError): pass class TemplateNotFoundError(ValidationError): pass class UniqueValidationError(ValidationError): pass class AppNotInstalledError(ValidationError): pass -class IncorrectSitePath(ValidationError): pass +class IncorrectSitePath(DoesNotExistError): pass