1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 10:24:26 +01:00

doorlock-client: Add more error output

Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
Ralf Ramsauer 2016-07-21 20:39:06 +02:00
parent 951e1de987
commit ee481009e1

View File

@ -56,6 +56,8 @@ static void onDoorlockUpdate(const Clientmessage &msg)
LogLevel::info); LogLevel::info);
if (mainWindow) { if (mainWindow) {
mainWindow->setClientmessage(msg); mainWindow->setClientmessage(msg);
} else {
l(LogLevel::error, "No valid UI object!");
} }
} }