Skip to content

Commit

Permalink
changed log level to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sushi30 committed Jul 22, 2024
1 parent aa3d54a commit 7105977
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def validate(value: bytes):
f"HexByteString columns support only bytes values. Received {type(value).__name__}."
)

def process_result_value(self, value: str, dialect) -> Optional[str]:
def process_result_value(self, value: bytes, dialect) -> Optional[str]:
"""This is executed during result retrieval
Args:
Expand All @@ -66,8 +66,8 @@ def process_result_value(self, value: str, dialect) -> Optional[str]:
value = bytes_value.decode(encoding=detected_encoding)
return value
except Exception as exc:
logger.debug("Failed to parse bytes valud as string: %s", exc)
logger.debug(traceback.format_exc())
logger.error(exc)

return value.hex()

Expand Down

0 comments on commit 7105977

Please sign in to comment.