stephenmcd/django-socketio

Functions in events.py file do not get triggered if there is an error in the import files

chipmunk1101 opened this issue · 0 comments

There should be a way to indicate that the functions in events.py if are not getting registered. Just faced this problem - was importing dateutil in events.py and the on_message() event would never get trigger. It does not throw an error either. Just realized that it was because datetutil is not installed functions in events.py were not getting registered.

It would be a good thing to throw the errors out in the open that occur in events.py