Skip to main content

Output pretty stack traces.

Project description

Pretty stack traces:

from prettystack import PrettyStackTemplate

prettystack_template = PrettyStackTemplate().to_console()

except Exception as exception:

Output (colorized on a terminal window):


[1]: function 'exception_raiser'

        5 :
        6 : def exception_raiser():
    --> 7 :     raise CatchThis("Some kind of message")
        8 :


    Some kind of docstring

Some kind of message

Project details

Download files

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

Source Distribution

prettystack-0.3.0.tar.gz (4.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page