[add] verbosity on import pyqtgraph exception
This commit is contained in:
parent
0ff6f78a6c
commit
0be5c4b694
@ -44,8 +44,8 @@ from obspy import UTCDateTime
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
import pyqtgraph as pg
|
import pyqtgraph as pg
|
||||||
except:
|
except Exception as e:
|
||||||
print('QtPyLoT: Could not import pyqtgraph.')
|
print('QtPyLoT: Could not import pyqtgraph. {}'.format(e))
|
||||||
pg = None
|
pg = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user