lib/neo4j/rails/transaction.rb in neo4j-1.0.0.beta.15 vs lib/neo4j/rails/transaction.rb in neo4j-1.0.0.beta.16
- old
+ new
@@ -50,16 +50,17 @@
end
def run
begin
new
- yield
+ ret = yield
rescue
fail
raise
ensure
finish
end
+ ret
end
end
end
end
end
\ No newline at end of file