Skip to content
Snippets Groups Projects
Commit e98258fe authored by Cédric Moreau's avatar Cédric Moreau
Browse files

Cleaning logs when pulling blocks from the network

parent 729654de
No related branches found
No related tags found
No related merge requests found
...@@ -276,7 +276,7 @@ function PeeringService(server, pair, dal) { ...@@ -276,7 +276,7 @@ function PeeringService(server, pair, dal) {
} }
} }
} catch (err) { } catch (err) {
logger.warn(err); logger.warn(err.code || err.message || err);
if (err && err.code == "EINVAL") { if (err && err.code == "EINVAL") {
yield dal.setPeerDown(p.pubkey); yield dal.setPeerDown(p.pubkey);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment