server: add nonce to missing order errors

This commit is contained in:
positiveblue 2022-04-13 13:46:49 -07:00
parent a036b5ea94
commit 9bdcb8e554
No known key found for this signature in database
GPG key ID: 4FFF2510928804DC

View file

@ -770,7 +770,8 @@ func (s *Server) syncLocalOrderState() error {
context.Background(), orderNonce,
)
if err != nil {
return fmt.Errorf("unable to fetch order state: %v", err)
return fmt.Errorf("unable to fetch order(%v): %v",
orderNonce, err)
}
remoteOrderState, err := rpcOrderStateToDBState(
orderStateResp.State,