Add exception handler for graphite request