Skip to content

Commit

Permalink
fix(Pipelines): print exception traceback (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheikhgwane authored Oct 8, 2024
1 parent 9bb8936 commit a13ac4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/base/files/scripts/bootstrap_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import os
import subprocess
import sys
import traceback
from pathlib import Path

import papermill as pm
Expand Down Expand Up @@ -131,4 +132,5 @@ def version_info():
print("Pipeline completed.")
except Exception as e:
print(f"Pipeline failed: {e}", file=sys.stderr)
traceback.print_exc()
sys.exit(1)

0 comments on commit a13ac4d

Please sign in to comment.