From 4c5880b9a0c2a66b1cede6044dbff137d1cb6a59 Mon Sep 17 00:00:00 2001 From: d3v-null Date: Tue, 15 Oct 2024 20:50:25 +0800 Subject: [PATCH] ssins print_exception --- demo/04_ssins.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/demo/04_ssins.py b/demo/04_ssins.py index f808b98..c7fb44c 100755 --- a/demo/04_ssins.py +++ b/demo/04_ssins.py @@ -15,6 +15,7 @@ from itertools import groupby import re import time +import traceback from pathlib import Path import pandas as pd @@ -677,7 +678,8 @@ def main(): try: base = read_select(ss, args) - except ValueError: + except ValueError as exc: + traceback.print_exception(exc) parser.print_usage() exit(1)