commit/rollback logic, log error on writing response
Merge pull request #119 from wongak/107-commits

commit/rollback logic, log error on writing response