Skip to content

Commit

Permalink
chore: use proper logging channel
Browse files Browse the repository at this point in the history
  • Loading branch information
cajus authored Feb 12, 2025
1 parent 979a45c commit 61136c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contacts/CardDAVAddressBookFeeder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ void CardDAVAddressBookFeeder::processVcard(QByteArray data, const QString &uuid

const auto matchResult = versionRegExp.match(data);
if (!matchResult.hasMatch()) {
qCritical() << "Cannot parse version from vCard - ignoring";
qCCritical(lcCardDAVAddressBookFeeder) << "Cannot parse version from vCard - ignoring";
return;
}
const auto version = matchResult.captured("version");
if (version != "3.0") {
qCritical() << "Only vCard version 3.0 is supported at the moment but found" << version
qCCritical(lcCardDAVAddressBookFeeder) << "Only vCard version 3.0 is supported at the moment but found" << version
<< "- ignoring";
return;
}
Expand Down

0 comments on commit 61136c7

Please sign in to comment.