Skip to content

Backfill critical logs should preserve tracebacks #564

@kbighorse

Description

@kbighorse

Context

Identified during review of #558 (558-radionuclides-backfill branch).

Problem

The __main__ block in backfill.py catches Exception and logs with an f-string:

logger.critical(f"Backfill orchestration failed: {exc}")

This loses the full traceback, making production failures very hard to diagnose.

Fix

Replace with logger.critical("Backfill orchestration failed", exc_info=True) to preserve the stack trace in log output.

Files

  • transfers/backfill/backfill.py (lines 68–69)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions