def send_alert(service, duty_officers=None):
    users = service.users_to_notify.filter(is_active=True)
    for alert in service.alerts.all():
        try:
            alert.send_alert(service, users, duty_officers)
        except Exception as e:
            logging.exception((alert.name, e) % 'Could not send %s alert: %s')
dataset/ETHPy150Open arachnys/cabot/cabot/cabotapp/alert.py/send_alert/swapped operands of `%`