Skip to content

Commit

Permalink
"sync failed" output is now a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hclivess committed Nov 27, 2019
1 parent 8163ff4 commit cd882b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ def handle(self):
"Inbound: Client rejected to sync from us because we're don't have the latest block")

except Exception as e:
node.logger.app_log.info(f"Inbound: Sync failed {e}")
node.logger.app_log.warning(f"Inbound: Sync failed {e}")

elif data == "nonewblk":
send(self.request, "sync")
Expand Down
2 changes: 1 addition & 1 deletion worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def worker(host, port, node):
# consensus pool 2 (active connection)

except Exception as e:
node.logger.app_log.info(f"Outbound: Sync failed {e}")
node.logger.app_log.warning(f"Outbound: Sync failed {e}")
finally:
node.syncing.remove(peer_ip)

Expand Down

0 comments on commit cd882b5

Please sign in to comment.