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.3.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for masonite_sentry-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64d1cbfee47406435593e7e41eafbfe5f7c992662477eb341c166b8e73251689 |
|
MD5 | 2513cf0652efbf91650f073758579844 |
|
BLAKE2b-256 | f921ba3ed558e49aff98a775c559d93619f923ee5e3bdb0241a8425197c81f5e |