def setSubmenuIcon(self, icon):
        warn('icon is set in theme', DeprecationWarning)
        self._submenuIcon = icon
        self.requestRepaint()
Log current error, and send error output to client if possible
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/menu_bar.py/MenuBar.setSubmenuIcon--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/vendor/wsgiref/handlers.py/BaseHandler.handle_error