Commit 0331ea58 authored by juga's avatar juga
Browse files

scanner: lower logging level on uncatch exceptions

when worker thread finish.
parent 1ccca8ab
......@@ -322,9 +322,10 @@ def result_putter_error(target):
''' Create a function that takes a single argument -- an error from a
measurement -- and return that function so it can be used by someone else
def closure(err):
log.error('Unhandled exception caught while measuring %s: %s %s',
target.nickname, type(err), err)
def closure(object):
# The only object that can be here if there is not any uncatched
# exception is stem.SocketClosed when stopping sbws
return closure
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment