Add logging and try except on graph requests