@@ -244,10 +244,9 @@ async def create_wallet(
244244
245245 if response .status_code not in (200 , 201 ):
246246 logger .info (
247- "Privy create_wallet response: status=%s auth_sig_count=%s body=%s " ,
247+ "Privy create_wallet response: status=%s auth_sig_count=%s" ,
248248 response .status_code ,
249249 signature_count ,
250- response .text ,
251250 )
252251
253252 raise IntentKitAPIError (
@@ -351,12 +350,11 @@ async def sign_message(self, wallet_id: str, message: str) -> str:
351350
352351 if response .status_code not in (200 , 201 ):
353352 logger .info (
354- "Privy rpc response: wallet_id=%s method=%s status=%s auth_sig_count=%s body=%s " ,
353+ "Privy rpc response: wallet_id=%s method=%s status=%s auth_sig_count=%s" ,
355354 wallet_id ,
356355 payload .get ("method" ),
357356 response .status_code ,
358357 signature_count ,
359- response .text ,
360358 )
361359
362360 raise IntentKitAPIError (
@@ -428,12 +426,11 @@ async def sign_hash(self, wallet_id: str, hash_bytes: bytes) -> str:
428426
429427 if response .status_code not in (200 , 201 ):
430428 logger .info (
431- "Privy rpc response: wallet_id=%s method=%s status=%s auth_sig_count=%s body=%s " ,
429+ "Privy rpc response: wallet_id=%s method=%s status=%s auth_sig_count=%s" ,
432430 wallet_id ,
433431 payload .get ("method" ),
434432 response .status_code ,
435433 signature_count ,
436- response .text ,
437434 )
438435
439436 raise IntentKitAPIError (
@@ -497,12 +494,11 @@ async def sign_typed_data(self, wallet_id: str, typed_data: dict[str, Any]) -> s
497494
498495 if response .status_code not in (200 , 201 ):
499496 logger .info (
500- "Privy rpc response: wallet_id=%s method=%s status=%s auth_sig_count=%s body=%s " ,
497+ "Privy rpc response: wallet_id=%s method=%s status=%s auth_sig_count=%s" ,
501498 wallet_id ,
502499 payload .get ("method" ),
503500 response .status_code ,
504501 signature_count ,
505- response .text ,
506502 )
507503
508504 raise IntentKitAPIError (
@@ -580,18 +576,17 @@ async def send_transaction(
580576
581577 if response .status_code not in (200 , 201 ):
582578 logger .info (
583- "Privy rpc response: wallet_id=%s method=%s status=%s auth_sig_count=%s body=%s " ,
579+ "Privy rpc response: wallet_id=%s method=%s status=%s auth_sig_count=%s" ,
584580 wallet_id ,
585581 payload .get ("method" ),
586582 response .status_code ,
587583 signature_count ,
588- response .text ,
589584 )
590585
591586 raise IntentKitAPIError (
592587 response .status_code ,
593588 "PrivyAPIError" ,
594- f "Failed to send transaction: { response . text } " ,
589+ "Failed to send transaction with Privy wallet " ,
595590 )
596591
597592 data_response = response .json ()
0 commit comments