Skip to content

[FR] using raise ... from ... to improve sdk debugging #685

Open
@soof-golan

Description

@soof-golan

Is your feature request related to a problem? Please describe.
Hey firebase team 👋

I'm always frustrated when an internal error occurs in the sdk, but during handling an that internal error you the sdk raises another and that wipes some of the context of the original error.

Describe the solution you'd like
It would be really nice to use python's built-in raise ... from ... idiom to make the debugging experience better.
It is very feasible and easy to append a from error to any raise statement that references the original error.

Describe alternatives you've considered
Debuggin without this feature 😅

Additional context
I'll gladly implement this. PR coming soon :)

Activity

google-oss-bot

google-oss-bot commented on Mar 24, 2023

@google-oss-bot

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

linked a pull request that will close this issue on Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @google-oss-bot@soof-golan@jonathanedey

      Issue actions

        [FR] using `raise ... from ...` to improve sdk debugging · Issue #685 · firebase/firebase-admin-python