added catch-all for errors constructing graph