Make error message more useful
This commit is contained in:
parent
99b6a0d4a5
commit
3af90a8edf
1 changed files with 1 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ impl Server {
|
||||||
.json(&request)
|
.json(&request)
|
||||||
.send()
|
.send()
|
||||||
.await?
|
.await?
|
||||||
|
.error_for_status()?
|
||||||
.json::<ServerResponse>()
|
.json::<ServerResponse>()
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue