Skip to content

Commit 73d5688

Browse files
committed
fix(solana): change logging from warning to error for Jito tips retrieval failures
1 parent 15117b0 commit 73d5688

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/price_pusher/src/solana/solana.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export class SolanaPricePusherJito implements IPricePusher {
177177
"https://bundles.jito.wtf/api/v1/bundles/tip_floor",
178178
);
179179
if (!response.ok) {
180-
this.logger.warn(
180+
this.logger.error(
181181
{ status: response.status, statusText: response.statusText },
182182
"getRecentJitoTips http request failed",
183183
);
@@ -188,7 +188,7 @@ export class SolanaPricePusherJito implements IPricePusher {
188188
Number(data[0].landed_tips_50th_percentile) * LAMPORTS_PER_SOL,
189189
);
190190
} catch (err: any) {
191-
this.logger.warn({ err }, "getRecentJitoTips failed");
191+
this.logger.error({ err }, "getRecentJitoTips failed");
192192
return undefined;
193193
}
194194
}

0 commit comments

Comments
 (0)