Skip to content

Commit f68ab38

Browse files
fix: remove f prefix
1 parent a3266e7 commit f68ab38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/x402/src/x402/fastapi/middleware.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ def x402_response(error: str):
223223
custom_facilitator_response = await client.post(url, headers=headers)
224224
custom_facilitator_response.raise_for_status()
225225
custom_facilitator_succeeded = True
226-
logger.info(f"Custom facilitator settle succeeded")
226+
logger.info("Custom facilitator settle succeeded")
227227
except Exception as e:
228-
logger.warning(f"Custom facilitator settle POST failed: {e}, falling back to default facilitator")
228+
logger.warning("Custom facilitator settle POST failed: {e}, falling back to default facilitator")
229229
custom_facilitator_succeeded = False
230230

231231
# Fallback to default facilitator if custom facilitator wasn't used or failed
@@ -251,7 +251,7 @@ def x402_response(error: str):
251251
if isinstance(data, dict) and "transactionHash" in data:
252252
transaction_hash = data["transactionHash"]
253253
except (AttributeError, KeyError, ValueError, httpx.DecodeError) as e:
254-
logger.warning(f"Failed to extract transactionHash from custom facilitator response: {e}")
254+
logger.warning("Failed to extract transactionHash from custom facilitator response: {e}")
255255

256256
settle_response = SettleResponse(
257257
success=True,

0 commit comments

Comments
 (0)