Added error checking to Octopart.