Commit aef5387ce0b3f71de26297e65dda656124fb2d4d

Authored by Moritz Wirger
1 parent 85fba134

Improve error message of Hue::refreshState

Showing 1 changed file with 1 additions and 1 deletions
hueplusplus/Hue.cpp
... ... @@ -302,6 +302,6 @@ void Hue::refreshState()
302 302 }
303 303 else
304 304 {
305   - std::cout << "Answer in Hue::refreshState of http_handler->GETJson(...) is not expected!\n";
  305 + std::cout << "Answer in Hue::refreshState of http_handler->GETJson(...) is not expected!\nAnswer:\n\t" << answer.toStyledString() << std::endl;
306 306 }
307 307 }
... ...