Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Log public vm errors as warn in prover-agent #8247

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions yarn-project/prover-client/src/prover-agent/prover-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ export class ProverAgent {
const type = ProvingRequestType[job.request.type];
if (this.isRunning()) {
if (job.request.type === ProvingRequestType.PUBLIC_VM && !process.env.AVM_PROVING_STRICT) {
this.log.error(`Error processing proving job id=${job.id} type=${type}: ${err}`, err);
this.log.warn(`Expected error processing VM proving job id=${job.id} type=${type}: ${err}`);
} else {
this.log.warn(`Ignoring error processing proving job id=${job.id} type=${type}: ${err}`);
this.log.error(`Error processing proving job id=${job.id} type=${type}: ${err}`, err);
}
await jobSource.rejectProvingJob(job.id, new ProvingError((err as any)?.message ?? String(err)));
} else {
Expand Down
Loading