Diffusion Baloo 681bd3fcd65b

Check cursor_open return value

Authored by davidedmundson on Dec 18 2019, 10:03 AM.

Description

Check cursor_open return value

Summary:
This will only fail if something else has already gone wrong, but I was
hitting a crash in the baloo runner on the first cursor fetch.

We may as well catch it and handle it gracefully with the right error message.

Test Plan: Unit tests

Reviewers: apol

Reviewed By: apol

Subscribers: apol, kde-frameworks-devel, Baloo

Tags: Frameworks, Baloo

Differential Revision: https://phabricator.kde.org/D25775

Details

Committed
davidedmundsonDec 18 2019, 10:03 AM
Reviewer
apol
Differential Revision
D25775: Check cursor_open return value
Parents
R293:a9dff763bf39: Initialise QML monitor values
Branches
Unknown
Tags
Unknown