Skip to main content

Log the important data when a exception occurs.

Project description

Pest control

Bugs are bad, but it's even worse when it happens in production, this is why it is a good idea to document all data possible when a exception occurs.

Usage

You have two options.

As a decorator

from exterminator import Exterminator

@Exterminator()
def main_function():
    # do stuff that might work

main_function()

As a context manager

from exterminator import Exterminator

with Exterminator():
    # do stuff, you know the thing

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exterminator-0.7-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file exterminator-0.7-py3-none-any.whl.

File metadata

  • Download URL: exterminator-0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for exterminator-0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 363d0ba4be150d699a531769c57d606641441a0c478bfd2b1b526aee34c003c0
MD5 bb88c18e91ddbca9204a2e16db560c05
BLAKE2b-256 24dd7e693382e499c370fea93118585ca4c1aeb1a8333e64e469b5b9b558ef28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page