Add error log in not found page