Skip to content

Commit

Permalink
.warn to .log
Browse files Browse the repository at this point in the history
  • Loading branch information
bryzettler committed Feb 13, 2025
1 parent aa1bd0b commit cd8fc09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const handleAccountWebhook = async ({
try {
sanitized = await plugin.processAccount(sanitized, t);
} catch (err) {
console.warn(
console.log(
`Plugin processing failed for account ${account.pubkey}`,
err
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const integrityCheckProgramAccounts = async ({

if (!blockTime24HoursAgo) {
attemptSlot += SLOTS_INCREMENT; // move forward 2 slots each attempt
console.warn(
console.log(
`Failed to get blocktime for slot ${
attemptSlot - SLOTS_INCREMENT
}, trying slot ${attemptSlot}`
Expand Down Expand Up @@ -231,7 +231,7 @@ export const integrityCheckProgramAccounts = async ({
try {
sanitized = await plugin.processAccount(sanitized, t);
} catch (err) {
console.warn(
console.log(
`Plugin processing failed for account ${c.pubkey}`,
err
);
Expand Down Expand Up @@ -299,7 +299,7 @@ export const integrityCheckProgramAccounts = async ({
await retry(performIntegrityCheck, {
...retryOptions,
onRetry: (error, attempt) => {
console.warn(
console.log(
`Integrity check ${programId} attempt ${attempt}: Retrying due to ${error.message}`
);
},
Expand Down

0 comments on commit cd8fc09

Please sign in to comment.