[add] verbosity on import pyqtgraph exception
This commit is contained in:
parent
0ff6f78a6c
commit
0be5c4b694
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user