Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 06f1a32b authored by Filipe Azevedo's avatar Filipe Azevedo

Fix unhandled exception from DataStream::operator<<

Summary: Depends on D19982

Reviewers: dvratil

Reviewed By: dvratil

Subscribers: cfeck, kde-pim

Tags: #kde_pim

Differential Revision:
parent 730adba8
......@@ -313,8 +313,8 @@ void Connection::doSendCommand(qint64 tag, const Protocol::CommandPtr &cmd)
if (mSocket && mSocket->isOpen()) {
Protocol::DataStream stream(;
stream << tag;
try {
stream << tag;
Protocol::serialize(, cmd);
} catch (const Akonadi::ProtocolException &e) {
qCWarning(AKONADICORE_LOG) << "Protocol Exception:" << QString::fromUtf8(e.what());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment