def _add_exception(self, exceptions_dict, (exception, trace)):
        """ { "ExceptionType1": <BotError>, "ExceptionType2": <BotError>, ... } """
        if exception.__class__.__name__ in exceptions_dict:
            exceptions_dict[exception.__class__.__name__].add_instance((exception, trace))
        else:
            exceptions_dict[exception.__class__.__name__] = Data.BotError((exception, trace))
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/admin/bot/launcher.py/BotLauncher._add_exception/original