def ebConnection(reason):
 log.startLogging(sys.stdout)
 log.err(reason)
 return reason

def ebConnection ( reason ) : log . startLogging ( sys . stdout ) log . err ( reason ) return reason
fallback error-handler .