I could be mistaken, but doesn't this callback provide an error object when it fails?  If so we should add it, since this is example code and people might not realize it.