diff --git a/src/prover_disk.hpp b/src/prover_disk.hpp index b3d761159..217e51f67 100644 --- a/src/prover_disk.hpp +++ b/src/prover_disk.hpp @@ -486,7 +486,9 @@ class DiskProver { decompresser_context_queue.push(gr); if (res != GRResult_OK) { - std::cout << "Got wrong result: " << static_cast(res) << "\n"; + if (res == GRResult_NoProof) { + throw std::runtime_error("GRResult_NoProof received"); + } throw std::runtime_error("GRResult is not GRResult_OK."); } std::vector uncompressed_xs;