Improve error diagnostics when input or output files are missing
ClosedPublic

Authored by vkrause on Apr 4 2019, 4:29 PM.

Details

Summary

qFatal results in [c]make just showing "core dumped", exiting with a
non-zero error code shows the actual error message instead.

Diff Detail

Repository
R174 KContacts
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10442
Build 10460: arc lint + arc unit
vkrause created this revision.Apr 4 2019, 4:29 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptApr 4 2019, 4:29 PM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
vkrause requested review of this revision.Apr 4 2019, 4:29 PM
dvratil accepted this revision.Apr 4 2019, 4:58 PM
dvratil added a subscriber: dvratil.

Hmm, shouldn't there also be return 0 at the end of the main() function?

This revision is now accepted and ready to land.Apr 4 2019, 4:58 PM
vkrause updated this revision to Diff 55430.Apr 4 2019, 5:21 PM

Also return 0 at the end of main().

dvratil accepted this revision.Apr 5 2019, 7:04 AM
This revision was automatically updated to reflect the committed changes.