add comment to prevent regressing PR #17
This commit is contained in:
parent
3257747d6b
commit
9f9c6e48fe
|
@ -246,6 +246,9 @@ impl Account {
|
|||
Ok(Order {
|
||||
account: self.inner.clone(),
|
||||
nonce,
|
||||
// Order of fields matters! We return errors from Problem::check
|
||||
// before emitting an error if there is no order url. Or the
|
||||
// simple no url error hides the causing error in `Problem::check`.
|
||||
state: Problem::check::<OrderState>(rsp).await?,
|
||||
url: order_url.ok_or("no order URL found")?,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue