D25775: Check cursor_open return value
David Edmundson
noreply at phabricator.kde.org
Thu Dec 5 22:32:53 GMT 2019
davidedmundson created this revision.
Herald added projects: Frameworks, Baloo.
Herald added subscribers: Baloo, kde-frameworks-devel.
davidedmundson requested review of this revision.
REVISION 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
REPOSITORY
R293 Baloo
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D25775
AFFECTED FILES
src/engine/postingdb.cpp
To: davidedmundson
Cc: kde-frameworks-devel, #baloo, hurikhan77, lots0logs, LeGast00n, fbampaloukas, GB_2, domson, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191205/f03f63c5/attachment.html>
More information about the Kde-frameworks-devel
mailing list