def catch_exception(f):
    @wraps(f)
    def inner(*args, **kwargs):
        try:
            return f(*args, **kwargs)
        except Exception:
            if getattr(sentry, 'app', None):
                sentry.captureException()
            raise
    return inner
Compute a fingerprint for this invocation of a Java task.
dataset/ETHPy150Open cenk/pypi-notifier/manage.py/catch_exception--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/java/nailgun_executor.py/NailgunExecutor._fingerprint