@staticmethod
    def get_cause_if_supported(exception):
        try:
            inner = exception.inner_exception
        except __HOLE__:
            inner = None

        if inner:
            return '\nCaused by:\n{tb}'.format(
                tb=inner
            )
        else:
            return ''
dataset/ETHPy150Open prestodb/presto-admin/prestoadmin/util/exception.py/ExceptionWithCause.get_cause_if_supported