diff options
author | Dorian Scholz <DorianScholz@gmx.de> | 2017-05-30 07:49:57 +0200 |
---|---|---|
committer | Dorian Scholz <DorianScholz@gmx.de> | 2017-05-30 07:49:57 +0200 |
commit | 57cb8f4e5495e9a27eaa01cf78e41d56172439b9 (patch) | |
tree | 37b6a39dcabd70f6e685b125a8c4c4cd9fddfcbd | |
parent | Add the Optium Neo as an untested supported device. (diff) | |
download | glucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.tar glucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.tar.gz glucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.tar.bz2 glucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.tar.lz glucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.tar.xz glucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.tar.zst glucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.zip |
-rwxr-xr-x | glucometer.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glucometer.py b/glucometer.py index 19a47a8..c037d7c 100755 --- a/glucometer.py +++ b/glucometer.py @@ -65,10 +65,10 @@ def main(): try: driver = importlib.import_module('glucometerutils.drivers.' + args.driver) - except ImportError: + except ImportError as e: logging.error( - 'No driver "%s" found, please check your --driver parameter.', - args.driver) + 'Error importing driver "%s", please check your --driver parameter:\n%s', + args.driver, e) return 1 # This check needs to happen before we try to initialize the device, as the |