kopia lustrzana https://github.com/cirospaciari/socketify.py
Update socketify.py
rodzic
293b2a97c2
commit
86ffaa326e
|
@ -8,6 +8,7 @@ import signal
|
||||||
import uuid
|
import uuid
|
||||||
from urllib.parse import parse_qs, quote_plus, unquote_plus
|
from urllib.parse import parse_qs, quote_plus, unquote_plus
|
||||||
import logging
|
import logging
|
||||||
|
import traceback
|
||||||
|
|
||||||
from .native import ffi, lib
|
from .native import ffi, lib
|
||||||
from .loop import Loop
|
from .loop import Loop
|
||||||
|
@ -33,7 +34,7 @@ def uws_missing_server_name(hostname, hostname_length, user_data):
|
||||||
handler(data)
|
handler(data)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
logging.error(
|
logging.error(
|
||||||
"Uncaught Exception: %s" % str(err)
|
"Uncaught Exception:\n %s" % traceback.format_exc()
|
||||||
) # just log in console the error to call attention
|
) # just log in console the error to call attention
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue