mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex.git
synced 2026-09-22 09:11:59 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b79163cdf7 | ||
|
|
2d537994ef | ||
|
|
2ae963ee62 | ||
|
|
f5cd59eb12 | ||
|
|
d4f9e128b3 |
+1
-1
@@ -91,7 +91,7 @@ class Server {
|
||||
// MIDDLEWARE END
|
||||
|
||||
// Delay startup to give the P2WDB time to start first, so that it accepts the webook call
|
||||
await sleep(5000)
|
||||
await sleep(20000)
|
||||
|
||||
// Create webhook
|
||||
try {
|
||||
|
||||
@@ -363,6 +363,9 @@ class OfferUseCases {
|
||||
console.log(`Deleting Offer with bad data: ${JSON.stringify(thisOffer, null, 2)}`)
|
||||
await thisOffer.remove()
|
||||
continue
|
||||
} else if (err.isAxiosError) {
|
||||
console.log('Error trying to contact api.fullstack.cash')
|
||||
continue
|
||||
} else {
|
||||
throw err
|
||||
}
|
||||
|
||||
@@ -202,6 +202,9 @@ class OrderLib {
|
||||
console.log(`Deleting Order with bad data: ${JSON.stringify(thisOrder, null, 2)}`)
|
||||
await thisOrder.remove()
|
||||
continue
|
||||
} else if (err.isAxiosError) {
|
||||
console.log('Error trying to contact api.fullstack.cash')
|
||||
continue
|
||||
} else {
|
||||
throw err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user