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
Masonite 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.2.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for masonite_sentry-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb9d45c324b9d039fa04508597d3bb3c14a7960d8cc6d21188f7524af03cbcde |
|
MD5 | db90fb8d925b18bab5462fa113f5a16d |
|
BLAKE2b-256 | 57afbf4f9c667f021889c2ba0b684796f26a46e290555b2f36074ceffa51633c |