[#9] Improving logging when primes fail.