Skip to content

Commit

Permalink
fix: storage provider error handling (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
troykessler authored Mar 3, 2025
1 parent b432f38 commit 14cc792
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions common/protocol/src/methods/upload/createBundleProposal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,16 +408,17 @@ export async function createBundleProposal(this: Validator): Promise<void> {
dataHash,
};
} catch (err) {
this.logger.info(
this.logger.error(
`Saving bundle proposal on StorageProvider was unsuccessful`
);
this.logger.debug(standardizeError(err));
this.logger.error(standardizeError(err));

this.m.storage_provider_save_failed.inc();

// if the bundle fails to the uploaded to the storage provider
// let the node skip the uploader role and continue
await this.skipUploaderRole(fromIndex);
return;
}
}

Expand Down

0 comments on commit 14cc792

Please sign in to comment.