Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community 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: https://phabricator.kde.org/D19983
parent 730adba8
......@@ -313,8 +313,8 @@ void Connection::doSendCommand(qint64 tag, const Protocol::CommandPtr &cmd)
if (mSocket && mSocket->isOpen()) {
Protocol::DataStream stream(mSocket.data());
stream << tag;
try {
stream << tag;
Protocol::serialize(mSocket.data(), 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