Skip to content

Commit

Permalink
improve(ArweaveClient): Log error when parsed type is incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspai committed Feb 7, 2025
1 parent 2ce907b commit 3b2c6bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/caching/Arweave/ArweaveClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class ArweaveClient {
// If the data does not match the validator, log a warning and return null.
this.logger.warn({
at: "ArweaveClient:get",
message: "Retrieved value from Arweave does not match the expected type",
message: `Retrieved value from Arweave does not match the expected type: ${e}`,
});
return null;
}
Expand Down

0 comments on commit 3b2c6bc

Please sign in to comment.