Skip to content

Commit afb2610

Browse files
committed
fix: Log public vm errors as warn in prover-agent (#8247)
And not the other way around. I need to relearn how booleans work.
1 parent ba23fea commit afb2610

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

yarn-project/prover-client/src/prover-agent/prover-agent.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ export class ProverAgent {
139139
const type = ProvingRequestType[job.request.type];
140140
if (this.isRunning()) {
141141
if (job.request.type === ProvingRequestType.PUBLIC_VM && !process.env.AVM_PROVING_STRICT) {
142-
this.log.error(`Error processing proving job id=${job.id} type=${type}: ${err}`, err);
142+
this.log.warn(`Expected error processing VM proving job id=${job.id} type=${type}: ${err}`);
143143
} else {
144-
this.log.warn(`Ignoring error processing proving job id=${job.id} type=${type}: ${err}`);
144+
this.log.error(`Error processing proving job id=${job.id} type=${type}: ${err}`, err);
145145
}
146146
await jobSource.rejectProvingJob(job.id, new ProvingError((err as any)?.message ?? String(err)));
147147
} else {

0 commit comments

Comments
 (0)