def captureException(self, *args, **kwargs):
        assert self.client, 'captureException called before application configured'
        data = kwargs.get('data')
        if data is None:
            try:
                kwargs['data'] = get_data_from_request(request)
            except __HOLE__:
                # app is probably not configured yet
                pass
        return self.client.captureException(*args, **kwargs)
dataset/ETHPy150Open getsentry/raven-python/raven/contrib/bottle/__init__.py/Sentry.captureException