fixed error raising for Cypher transactions