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:
parent
252826a081
commit
f2655ac12a
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ export const handleQuestionsToPeers = async (
|
|||
|
||||
if (res.error || !res.data?.success) {
|
||||
results.errors.push(peer)
|
||||
console.error(res.error || JSON.stringify(res.data))
|
||||
} else if (res.data?.totalNewQuestions > 0) {
|
||||
results.hasNew.push(peer)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue