minor: catch error when rolling back