Bug 1050097 - [Camera] Add error handling while |videoStorage.addNamed| occurs error.

Can you call the function with the callback defined underneath instead of inlined? It makes the code easier to read.
You can find an example in js/lib/camera/focus.js. Look for:
this.updateFocusArea(detectedFaces[0].bounds, focusDone);