Skip to content

Commit 7faa7ee

Browse files
committed
-
1 parent fe89a7f commit 7faa7ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

databricks/sdk/logger/round_trip_logger.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,10 @@ def _recursive_marshal(self, v: Any, budget: int) -> Any:
112112
def _redacted_dump(self, prefix: str, body: str) -> str:
113113
try:
114114
if len(body) == 0:
115-
return "body has no length"
115+
return ""
116116
except TypeError:
117117
return "unsupported body type"
118+
118119
try:
119120
# Unmarshal body into primitive types.
120121
tmp = json.loads(body)

0 commit comments

Comments
 (0)