Sentry sdk implementation for Masonite.
Project description
Masonite Sentry
Sentry sdk implementation for Masonite.
Installation
pip install masonite-sentry
Configuration
Add SentryProvider to your project in config/providers.py
:
# config/providers.py
# ...
from sentry import SentryProvider
# ...
PROVIDERS = [
# ...
# Third Party Providers
SentryProvider,
# ...
]
Then you can publish the package resources (if needed) by doing:
python craft package:publish sentry
Usage
Setup environment variables in your project's .env
file:
SENTRY_DSN=
SENTRY_SAMPLE_RATE=1.0
Well that's it, you are done, congrats.
Note: Sentry captures no any exceptions if you are on debug mode.
Contributing
Please read the Contributing Documentation here.
Maintainers
License
sentry is open-sourced software licensed under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
masonite-sentry-0.0.1.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for masonite_sentry-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f1f5c433430d87c6d117556208cd6399c648f94e43eb58e4f816a22d843af52 |
|
MD5 | 134904c9529312af8264b792f65b0051 |
|
BLAKE2b-256 | 062575fe6f26f4da45b80c2bd1dd0ff0e58c8479754b7d3c938bcd86bcf88bfc |