Store more infor about caught exceptions