alanhdu / hunt

Play Hunt (the terminal game) online at http://quiet-forest-3036.herokuapp.com/
1 stars 0 forks source link

Exception Handling #7

Closed alanhdu closed 10 years ago

alanhdu commented 10 years ago

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.