Forward error message from backend to ui
Needs ReviewPublic

Authored by nicolasfella on Sep 27 2019, 12:06 PM.

Details

Reviewers
None
Group Reviewers
Plasma
KWin
Summary

Saying that no backend was found is not accurate when there was a different error in the backend. The backend gives us an error message we can display instead.

It's not really more usefriendly, but gives us a glimpse at what actually might be wrong

Test Plan

I get a different error message now

Diff Detail

Repository
R104 KScreen
Branch
errormsg
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 17083
Build 17101: arc lint + arc unit
nicolasfella created this revision.Sep 27 2019, 12:06 PM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 27 2019, 12:06 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
nicolasfella requested review of this revision.Sep 27 2019, 12:06 PM
nicolasfella edited the summary of this revision. (Show Details)Sep 27 2019, 12:09 PM
nicolasfella edited the test plan for this revision. (Show Details)

Maybe at least show "Failed to contact screen management service: $msg"

Heh, if that's a more accurate error message, I as a user would still have no clue what do to about it...