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
1 changed files with 2 additions and 0 deletions

View File

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