Add error checking to graphiteServer