Sends exceptions in Kuyruk workers to Sentry.
Project Description
# Kuyruk-Sentry
Sends exceptions in Kuyruk workers to Sentry.
## Install
$ pip install kuyruk-sentry
## Usage
```python
from kuyruk import Kuyruk, Config
from kuyruk_sentry import Sentry
config = Config()
config.KUYRUK_SENTRY_DSN = "..."
kuyruk = kuyruk.Kuyruk(config)
s = Sentry(k)
@kuyruk.task
def oops():
1/0 # exception will be sent to Sentry
```
Sends exceptions in Kuyruk workers to Sentry.
## Install
$ pip install kuyruk-sentry
## Usage
```python
from kuyruk import Kuyruk, Config
from kuyruk_sentry import Sentry
config = Config()
config.KUYRUK_SENTRY_DSN = "..."
kuyruk = kuyruk.Kuyruk(config)
s = Sentry(k)
@kuyruk.task
def oops():
1/0 # exception will be sent to Sentry
```
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size & hash SHA256 hash help | File type | Python version | Upload date |
---|---|---|---|
Kuyruk-Sentry-1.1.3.tar.gz (2.7 kB) Copy SHA256 hash SHA256 | Source | None | Apr 15, 2017 |