File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 33from easyssp_utils .client import ApiException
44from pydantic import ValidationError
55from demo_config import USER_AGENT , EASYSSP_USERNAME , EASYSSP_PASSWORD
6+ import traceback
67
78with (open ("../input/ssd_example.ssd" , "rb" ) as ssd_input_file ):
89 try :
1516 # catch ValidationError for incorrect request parameters
1617 # catch ApiException for errors from the API client or the server
1718 except (AuthError , ApiException , ValidationError ) as ex :
18- print ( ex )
19+ traceback . print_exc ( )
Original file line number Diff line number Diff line change 33from easyssp_utils .client import ApiException
44from pydantic import ValidationError
55from demo_config import USER_AGENT , EASYSSP_USERNAME , EASYSSP_PASSWORD
6+ import traceback
67
78with (open ("../output/ssp_output.ssp" , "wb" ) as ssp_output_file ):
89 try :
1819 # catch ValidationError for incorrect request parameters
1920 # catch ApiException for errors from the API client or the server
2021 except (AuthError , ApiException , ValidationError ) as ex :
21- print ( ex )
22+ traceback . print_exc ( )
Original file line number Diff line number Diff line change 33from easyssp_utils .client import ApiException
44from pydantic import ValidationError
55from demo_config import USER_AGENT , EASYSSP_USERNAME , EASYSSP_PASSWORD
6+ import traceback
67
78with (open ("../input/ssp_example.ssp" , "rb" ) as ssp_input_file ):
89 try :
1617 # catch ValidationError for incorrect request parameters
1718 # catch ApiException for errors from the API client or the server
1819 except (AuthError , ApiException , ValidationError ) as ex :
19- print ( ex )
20+ traceback . print_exc ( )
You can’t perform that action at this time.
0 commit comments