chore: dont log 404 as errors

This commit is contained in:
Ankush Menat 2022-12-20 11:20:50 +05:30
parent d88ef967b9
commit f52869482d

View file

@ -23,7 +23,6 @@ def get_response(path=None, http_status_code=200):
except frappe.PageDoesNotExistError:
response = NotFoundPage(endpoint, http_status_code).render()
except Exception as e:
frappe.log_error(f"{path} failed")
response = ErrorPage(exception=e).render()
return response