Make error message more useful

This commit is contained in:
Joscha 2023-08-17 17:28:44 +02:00
parent 99b6a0d4a5
commit 3af90a8edf

View file

@ -76,6 +76,7 @@ impl Server {
.json(&request)
.send()
.await?
.error_for_status()?
.json::<ServerResponse>()
.await?;