summaryrefslogtreecommitdiff
path: root/test/pipeline
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-05-18 16:13:19 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-05-18 17:52:29 +0300
commit1384cedf509e0b2038c974c44521fa1d659d574c (patch)
tree59dcc0dfeb71277abded71c102b70df785cd95b7 /test/pipeline
parent7ac7e0e119edfd9bdba5bafec48512338598eea4 (diff)
py: cam.py: Exit on exception
Catch exceptions in the event_handler, as they would get ignored otherwise. Print the exception and return False so that the main loop exits. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/pipeline')
0 files changed, 0 insertions, 0 deletions