[polkit-1] Return an error status in actionStatus if there is an error

Authored by davidedmundson on Feb 10 2020, 12:19 PM.



The enum has an explicit Invalid entry, it seems correct to use it.

Test Plan

Tested with next commit

Diff Detail

R283 KAuth
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a project: Frameworks. · View Herald TranscriptFeb 10 2020, 12:19 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
davidedmundson requested review of this revision.Feb 10 2020, 12:19 PM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 10 2020, 2:06 PM
This revision was automatically updated to reflect the committed changes.