Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions qc_viewer/services/automation_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,16 +382,17 @@ def _finalize(meta: dict) -> None:
except Exception as inner_e:
print(f"Failed to update metadata after cancel: {inner_e}")
except Exception as e:
print(f"Background Processing Error: {e}")
error_str = str(e)
print(f"Background Processing Error: {error_str}")
try:

def _fail(meta: dict) -> None:
meta.update(
{
"status": "FAILED",
"error": str(e),
"error": error_str,
"progress": 0,
"status_message": f"Error: {str(e)}",
"status_message": f"Error: {error_str}",
}
)

Expand Down
Loading