File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
python/x402/src/x402/fastapi Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments