Metadata-Version: 2.1
Name: t_bug_catcher
Version: 0.2.1
Summary: Bug catcher
Home-page: https://www.thoughtful.ai/
Author: Thoughtful
Author-email: support@thoughtful.ai
Keywords: t_bug_catcher
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.9
Requires-Dist: requests<3.0.0,>=2.31.0
Requires-Dist: bugsnag>=4.6.1
Requires-Dist: retry~=0.9.2

t-bug-catcher
==============

Description
-----------
The `t-bug-catcher` package is a bug reporting tool that allows users to easily submit bug reports for the application.

Installation
------------
You can install the `t-bug-catcher` package using pip:

.. code-block:: bash

    pip install t-bug-catcher

Usage
-----
To use the bug catcher in your application, import the package and initialize it:

.. code-block:: python

    from t_bug_catcher import report_error
    ...
    try:
        ...
    except Exception:
        report_error()

Configuration
-------------
You can configure the bug catcher by passing options during initialization:

.. code-block:: python
    
    from t_bug_catcher import configure
    ...
    configure.jira(
        login="JIRA_LOGIN",
        api_token="JIRA_API_TOKEN",
        project_key="PROJECT_NAME",
    )
    configure.bugsnag(
        api_token="BUGSNAG_API_TOKEN",
    )
