correct error
This commit is contained in:
parent
dc0dc9e847
commit
3a099f6565
1 changed files with 4 additions and 2 deletions
|
|
@ -133,8 +133,10 @@ const listenerForAddr = (addr, SEA) => async (order, orderID) => {
|
||||||
.get(orderID)
|
.get(orderID)
|
||||||
.put(encInvoice, ack => {
|
.put(encInvoice, ack => {
|
||||||
if (ack.err) {
|
if (ack.err) {
|
||||||
throw new Error(
|
rej(
|
||||||
`Error saving encrypted invoice to order to response usergraph: ${ack}`
|
new Error(
|
||||||
|
`Error saving encrypted invoice to order to response usergraph: ${ack}`
|
||||||
|
)
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
res()
|
res()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue