aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/DBusAPI.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/DBusAPI.cpp b/src/DBusAPI.cpp
index c133910..7f14e4f 100644
--- a/src/DBusAPI.cpp
+++ b/src/DBusAPI.cpp
@@ -77,8 +77,8 @@ void DBusAPI::start_reply(QDBusPendingCallWatcher *call) {
QString result = "";
QDBusPendingReply<QString> reply = *call;
if (reply.isError()) {
- qDebug() << "D-Bus 'start' request failed, this was the reply:";
- qDebug() << reply.error();
+ qCritical() << "D-Bus 'start' request failed, this was the reply:";
+ qCritical() << reply.error();
emit serviceStartResponse(nullptr);
return;
@@ -135,8 +135,8 @@ void DBusAPI::stop_reply(QDBusPendingCallWatcher *call) {
QDBusPendingReply<QString> reply = *call;
if (reply.isError()) {
- qDebug() << "D-Bus 'stop' request failed, this was the reply:";
- qDebug() << reply.error();
+ qCritical() << "D-Bus 'stop' request failed, this was the reply:";
+ qCritical() << reply.error();
emit serviceStopResponse(nullptr);
} else {
@@ -218,8 +218,8 @@ void DBusAPI::status_reply(QDBusPendingCallWatcher *call){
QDBusPendingReply<QString> reply = *call;
if (reply.isError()) {
- qDebug() << "D-Bus '(refresh_)status' request failed, this was the reply:";
- qDebug() << reply.error();
+ qCritical() << "D-Bus '(refresh_)status' request failed, this was the reply:";
+ qCritical() << reply.error();
emit serviceStatusResponse(nullptr);
return;
@@ -300,8 +300,8 @@ void DBusAPI::get_web_app_hosts_reply(QDBusPendingCallWatcher *call){
QDBusPendingReply<QString> reply = *call;
if (reply.isError()) {
- qDebug() << "D-Bus 'get_web_app_hosts' request failed, this was the reply:";
- qDebug() << reply.error();
+ qCritical() << "D-Bus 'get_web_app_hosts' request failed, this was the reply:";
+ qCritical() << reply.error();
emit serviceGetWebAppHostsResponse(nullptr);
return;
@@ -329,8 +329,8 @@ void DBusAPI::add_web_app_host_reply(QDBusPendingCallWatcher *call){
QDBusPendingReply<QString> reply = *call;
if (reply.isError()) {
- qDebug() << "D-Bus 'add_web_app_host' request failed, this was the reply:";
- qDebug() << reply.error();
+ qCritical() << "D-Bus 'add_web_app_host' request failed, this was the reply:";
+ qCritical() << reply.error();
emit serviceAddWebAppHostResponse(nullptr);
return;
@@ -358,8 +358,8 @@ void DBusAPI::remove_web_app_host_reply(QDBusPendingCallWatcher *call){
QDBusPendingReply<QString> reply = *call;
if (reply.isError()) {
- qDebug() << "D-Bus 'remove_web_app_host' request failed, this was the reply:";
- qDebug() << reply.error();
+ qCritical() << "D-Bus 'remove_web_app_host' request failed, this was the reply:";
+ qCritical() << reply.error();
emit serviceRemoveWebAppHostResponse(nullptr);
return;