Spaces:
Build error
Build error
Download scripts/logger.py from thompsgj/mathtext-wormhole-staging: direct link, hf CLI and curl.
- Browser
- Download file 291 Bytes
-
https://huggingface.co/spaces/thompsgj/mathtext-wormhole-staging/resolve/main/scripts/logger.py
- Command line
-
hf download hf://spaces/thompsgj/mathtext-wormhole-staging/scripts/logger.py
-
curl -L -o logger.py https://huggingface.co/spaces/thompsgj/mathtext-wormhole-staging/resolve/main/scripts/logger.py
291 Bytes
| import sentry_sdk | |
| from . import env_loader | |
| sentry_sdk.init( | |
| dsn=env_loader.envs.get("SENTRY_URL"), | |
| # Set traces_sample_rate to 1.0 to capture 100% | |
| # of transactions for performance monitoring. | |
| # We recommend adjusting this value in production. | |
| traces_sample_rate=1.0 | |
| ) | |