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

[PAY-2579] Change tx handler logs back to warn #8060

Merged
merged 1 commit into from
Apr 9, 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
10 changes: 5 additions & 5 deletions packages/libs/src/services/solana/transactionHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export class TransactionHandler {
await sendRawTransaction()
} catch (e) {
// Rarely, this intiial send will fail
logger.error(
logger.warn(
`transactionHandler: Initial send failed for txId ${txid}: ${e}`
)
}
Expand All @@ -310,7 +310,7 @@ export class TransactionHandler {
try {
sendRawTransaction()
} catch (e) {
logger.error(
logger.warn(
`transactionHandler: error in send loop: ${e} for txId ${txid}`
)
}
Expand Down Expand Up @@ -342,7 +342,7 @@ export class TransactionHandler {
(conn) => conn.rpcEndpoint !== this.connection.rpcEndpoint
)
) ?? this.connection
logger.error(
logger.warn(
`transactionHandler: error in awaitTransactionSignature: ${JSON.stringify(
e
)}, ${txid}, with ${sendCount} retries to ${
Expand Down Expand Up @@ -377,7 +377,7 @@ export class TransactionHandler {
}
done = true
const message = `transactionHandler: Timed out in await, ${txid}`
logger.error(message)
logger.warn(message)
reject(new Error(message))
}, this.retryTimeoutMs)

Expand All @@ -390,7 +390,7 @@ export class TransactionHandler {
done = true
if (result.err) {
const err = JSON.stringify(result.err)
logger.error(
logger.warn(
`transactionHandler: Error in onSignature ${txid}, ${err}`
)
reject(new Error(err))
Expand Down