Ideally, when the server raises an exception, the web browser should know about it (and probably display it w/ a pop-up or something). Raising an exception when two people have the same username isn't helpful unless they know about it too.
Theoretically, you should be able to overwrite sys.eventhook and everything should work, but it doesn't seem to be working with gevent and threading.
Ideally, when the server raises an exception, the web browser should know about it (and probably display it w/ a pop-up or something). Raising an exception when two people have the same username isn't helpful unless they know about it too.
Theoretically, you should be able to overwrite
sys.eventhook
and everything should work, but it doesn't seem to be working with gevent and threading.