Add exception logging for term copy