mozilla/openbadges-badgekit — pull request #447 by christensenep (2014-06-10 14:28:57+00:00)
Title: Fix crashes that should be 404s

There were a bunch of places where we were fetching a badge based on user input, and not checking to see if the badge was actually found, causing a few different crashes. (The code was generally assuming that a getOne call would return an error if nothing was found, which is not the case)