Added commits to error DB transactions