Compare commits

...
5 Commits
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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 {
+3
View File
@@ -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
}
+3
View File
@@ -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
}