fix graphite error logging