small fix

This commit is contained in:
Adolfo Gómez García 2022-01-20 11:16:23 +01:00
parent f40c2ed618
commit ecb876157a

View File

@ -33,16 +33,15 @@ import os
import pwd import pwd
import sys import sys
import argparse import argparse
import multiprocessing
import signal import signal
import socket import socket
import logging import logging
import typing import typing
import curio import curio
import psutil
import setproctitle import setproctitle
from uds_tunnel import config from uds_tunnel import config
from uds_tunnel import proxy from uds_tunnel import proxy
from uds_tunnel import consts from uds_tunnel import consts
@ -118,7 +117,7 @@ async def tunnel_proc_async(
except Exception: except Exception:
if consts.DEBUG: if consts.DEBUG:
logger.exception('HANDSHAKE') logger.exception('HANDSHAKE')
logger.error('HANDSHAKE from %s', address) logger.error('HANDSHAKE invalid from %s', address)
# Close Source and continue # Close Source and continue
source.close() source.close()
continue continue