1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00

log headers on unknown sessionserver error

This commit is contained in:
mat 2023-01-05 19:24:21 -06:00
parent 4760488c4a
commit 0bca3d8f5d

View file

@ -78,6 +78,8 @@ pub async fn join(
}
}
status_code => {
// log the headers
log::debug!("Error headers: {:#?}", res.headers());
let body = res.text().await?;
Err(SessionServerError::UnexpectedResponse {
status_code: status_code.as_u16(),