Send back developer error correctly

This commit is contained in:
Adil Hafeez 2024-10-17 20:52:04 -07:00
parent 6cd05572c4
commit b18c8d313c
3 changed files with 32 additions and 12 deletions

View file

@ -335,8 +335,8 @@ impl HttpContext for LlmGatewayStreamContext {
Ok(de) => de,
Err(e) => {
debug!("invalid response: {}", String::from_utf8_lossy(&body));
self.send_server_error(ServerError::Deserialization(e), None);
return Action::Pause;
// self.send_server_error(ServerError::Deserialization(e), None);
return Action::Continue;
}
};