Fix raiseWithReason header not being copied