More broadly catch picamera import errors
This commit is contained in:
parent
19c7b7a20c
commit
2059cc0a55
1 changed files with 2 additions and 1 deletions
|
|
@ -15,7 +15,8 @@ from openflexure_microscope.stage.sanga import SangaStage
|
|||
|
||||
try:
|
||||
from openflexure_microscope.camera.pi import PiCameraStreamer
|
||||
except ImportError:
|
||||
except Exception as e:
|
||||
logging.error(e)
|
||||
logging.warning("Unable to import PiCameraStreamer")
|
||||
from openflexure_microscope.camera.mock import MissingCamera
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue