mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
logging question to peers error
This commit is contained in:
@@ -115,6 +115,7 @@ export const handleQuestionsToPeers = async (
|
|||||||
|
|
||||||
if (res.error || !res.data?.success) {
|
if (res.error || !res.data?.success) {
|
||||||
results.errors.push(peer)
|
results.errors.push(peer)
|
||||||
|
console.error(res.error || JSON.stringify(res.data))
|
||||||
} else if (res.data?.totalNewQuestions > 0) {
|
} else if (res.data?.totalNewQuestions > 0) {
|
||||||
results.hasNew.push(peer)
|
results.hasNew.push(peer)
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user