raise RuntimeError if transaction commands fail