diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2023-10-10 12:29:14 +0200 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2023-10-16 14:36:02 +0200 |
commit | af4e5bb18cdf498af481e07c6aff2d65ef60630e (patch) | |
tree | f397336aa11f272749b74d56eaa09e26d6e140ef /pySim-shell.py | |
parent | 58e89eb15a9260104c03d4285920c1d190fc9b80 (diff) |
transport: do not catch exceptions in init_reader
We currently catch any exceptions that may occur when the card reader is
initialized. Then we print the exception string or the exception type
when no string is available. However, a failure during the reader
initialization is usually a severe problem, so a traceback would provde
a lot of helpful information to debug the issue. So lets not catch any
exceptions at this level so that we get the full backtrace.
Related: OS#6210
Change-Id: I4c4807576fe63cf71a7d33b243a3f8fea0b7ff23
Diffstat (limited to 'pySim-shell.py')
-rwxr-xr-x | pySim-shell.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pySim-shell.py b/pySim-shell.py index 56655ba..afc7653 100755 --- a/pySim-shell.py +++ b/pySim-shell.py @@ -1015,8 +1015,6 @@ if __name__ == '__main__': # Init card reader driver sl = init_reader(opts, proactive_handler = Proact()) - if sl is None: - exit(1) # Create a card handler (for bulk provisioning) if opts.card_handler_config: |