def get_object_or_404(fn, *args, **kwargs):
    try:
        return fn(*args, **kwargs)
    except __HOLE__:
        abort(404)
dataset/ETHPy150Open getredash/redash/redash/handlers/base.py/get_object_or_404