Bug 958757 capturing possible errors