From 0be5c4b694142ff6f25ca810c9dead406a7fae09 Mon Sep 17 00:00:00 2001 From: Marcel Paffrath Date: Tue, 20 Jun 2017 13:22:29 +0200 Subject: [PATCH] [add] verbosity on import pyqtgraph exception --- QtPyLoT.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index 4a3bcd07..ceab88ef 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -44,8 +44,8 @@ from obspy import UTCDateTime try: import pyqtgraph as pg -except: - print('QtPyLoT: Could not import pyqtgraph.') +except Exception as e: + print('QtPyLoT: Could not import pyqtgraph. {}'.format(e)) pg = None try: