Added exception reporting to HTTP endpoint