Error is not sent when command handler raises
While it is a very silly thing that I forgot to run initdb.py
before running the server, when I tried to register the server printed this:
Exception in callback _SelectorSslTransport._read_ready()
handle: <Handle _SelectorSslTransport._read_ready()>
Traceback (most recent call last):
File "/usr/lib64/python3.4/site-packages/peewee.py", line 3191, in execute_sql
cursor.execute(sql, params or ())
sqlite3.OperationalError: no such table: user
Expected, but the client received no response whatsoever.
Perhaps network.py:79 should be encased in a try/except?