Return info to callback on errors (bug 1035515)

the onrestore() callback was getting an undefined info object.