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)
|
||||
.send()
|
||||
.await?
|
||||
.error_for_status()?
|
||||
.json::<ServerResponse>()
|
||||
.await?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue