Add error logging for http server