Skip to content

Commit c42b201

Browse files
committed
Debug CI
1 parent 2c22adf commit c42b201

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎pyxdm/core/session.py‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,14 @@
1313

1414
try:
1515
import horton as ht
16-
except ImportError:
17-
logger.error("horton package is required for XDM calculations")
16+
except ImportError as e:
17+
import traceback
18+
print("=" * 60, flush=True)
19+
print("ERROR: failed to import horton", flush=True)
20+
print(f"ImportError: {e}", flush=True)
21+
print("Full traceback:", flush=True)
22+
traceback.print_exc()
23+
print("=" * 60, flush=True)
1824
sys.exit(1)
1925

2026

0 commit comments

Comments
 (0)