propogate error on error so we can handle it