Fix error catching -- don't call callback twice