Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Create a DEBUG environment variable to help with debugging errors. #28

@miketwenty1

Description

@miketwenty1

Problem:
Currently if there is a JSON parse issue with one of our API responses we throw an error and have no idea of what the raw data is.
ZBD uses AWS and has middleware infra that can return HTML pages with various errors.

Proposed Solution:
It would be nice to have a DEBUG env flag that can be enabled to see the underlying problem in the logs.
Specifically for sendPayment, but would be nice to expand for all endpoints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions