Moved error log enpoint to index route.