fixed small bug - db error is empty after rollback