summaryrefslogtreecommitdiffstats
path: root/qdb/client/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qdb/client/client.cpp')
-rw-r--r--qdb/client/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qdb/client/client.cpp b/qdb/client/client.cpp
index 831884d..4381e48 100644
--- a/qdb/client/client.cpp
+++ b/qdb/client/client.cpp
@@ -188,8 +188,8 @@ void Client::handleWatchMessage()
const auto type = responseType(document.object());
if (type != ResponseType::NewDevice && type != ResponseType::DisconnectedDevice) {
- qDebug() << "Shutting down due to unexpected response:" << responseBytes;
- shutdown(0);
+ std::cerr << "Shutting down due to unexpected response:" << responseBytes.data();
+ shutdown(1);
}
}
}