add retained fragment and error-log.txt