mozilla/openbadges-bakery — pull request #5 by brianloveswords (2013-10-15 14:12:02+00:00)
Title: Watch for errors when baking.

We need to listen for an error event or else it escalates and an
uncatchable error gets thrown. This was happening in the backpack when
someone would try to send in an image that was not a PNG a signature
error would get emitted, but the `baker.bake` method was not listening
on the `error` event.