aboutsummaryrefslogtreecommitdiff
path: root/src/script/script_error.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2020-06-16 06:40:40 -0400
committerMarcoFalke <[email protected]>2020-06-16 06:57:30 -0400
commitfac12ebf4f3b77b05112d2b00f8d3f4669621a4c (patch)
tree843d5220d83d115eb25c23c968098c7f18145a3a /src/script/script_error.cpp
parentMerge #19178: Make mininode_lock non-reentrant (diff)
downloaddiscoin-fac12ebf4f3b77b05112d2b00f8d3f4669621a4c.tar.xz
discoin-fac12ebf4f3b77b05112d2b00f8d3f4669621a4c.zip
net: Avoid redundant and confusing FAILED log
Every `return false` is preceeded by a detailed debug log message to explain that a disconnect or misbehavior happened. Logging another generic "FAILED" message seems redundant. Also, the size of the message and the message type has already been logged and is thus redundant as well. Finally, claiming that message processing FAILED seems odd, because the message was fully processed to the point where it was concluded that the peer should be either disconnected or marked as misbehaving.
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions