[FIX] rollback tx to ensure commiting the err values

Merged Santiago Said requested to merge fixErrorWhileTryExc into 12.0-stage

Merge request reports