Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-3956

Stacktraces from exceptions in user code should be preserved in the Python SDK

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • Not applicable
    • sdk-py-core
    • None

    Description

      Currently, Beam's Python SDK loses stacktraces for exceptions. It does helpfully add a tag like "[while running StageA]" to exception error messages, but that doesn't include the stacktrace of Python functions being called.

      Including the full stacktraces would make a big difference for the ease of debugging Beam pipelines when things go wrong.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shoyer Stephan Hoyer
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7.5h
                  7.5h