small graphite fixes
logging & error handling fix