Gracefully quit on configuration/database startup errors

Review Request #124979 - Created Aug. 29, 2015 and submitted

Information
Dāvis Mosāns
akonadi
6248d1e...
Reviewers
akonadi

Gracefully quit on configuration/database startup errors.
When database haven't been started or fails to start then Akonadi would crash itself with akFatal and produce backtrace. Also akonadicontrol would try to restart but it's pointless for this case.
It's much better for these cases to simply output error and quit without crashing.
I think akFatal should be be used only for cases when something happened which shouldn't happen but things outside of akonadi control (eg. database) should be handled gracfully as there's no point in backtrace anyway as it's not Akonadi bug.

Compiles and tested that it quits normallly if database haven't been started.

Daniel Vrátil
Dāvis Mosāns
Daniel Vrátil
Dāvis Mosāns
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit fadb5a31b00aecefca26a946442b56df36a49c97 by D?vis Mos?ns to branch master.
Loading...