'Runs the given callback with exception handling.
On error, aborts the websocket connection and returns False.'

def _run_callback(self, callback, *args, **kwargs):

    try:
        callback(*args, **kwargs)
    except Exception:
        app_log.error('Uncaught    exception    in    %s', self.request.path, exc_info=True)
        self._abort()
