Skip to content

Commit 35f4061

Browse files
committed
test
1 parent 945af5b commit 35f4061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proxy/src/serve_tasks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ async fn handler_tasks_nostream(
160160
} else {
161161
warn!(
162162
"Answer is no valid JSON; returning as-is to client: \"{}\". Headers: {:?}",
163-
std::str::from_utf8(&bytes).unwrap_or("(unable to parse)"),
163+
String::from_utf8_lossy(&bytes),
164164
parts
165165
);
166166
}

0 commit comments

Comments
 (0)