def METHOD_NAME(crash, project: Project, url: str) -> None:
    try:
        event = translate_crash_to_event(crash, project, url)
    except KeyError as exc:
        logger.exception(
            "Crash dump data has invalid payload",
            exc_info=exc,
            extra={"project": project, "url": url},
        )
        return
    if options.get("processing.can-use-scrubbers"):
        new_event = safe_execute(scrub_data, project=project, event=event, _with_transaction=False)
        if new_event is not None:
            event = new_event
    event_manager = EventManager(event, project=project)
    event_manager.save(project_id=project.id)