chore: dont log 404 as errors
This commit is contained in:
parent
d88ef967b9
commit
f52869482d
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue