diff --git a/src/gui/handler.cpp b/src/gui/handler.cpp index c2650242..0b3d2a44 100644 --- a/src/gui/handler.cpp +++ b/src/gui/handler.cpp @@ -761,12 +761,12 @@ namespace loot { callback->Success(JSON::stringify(gameNode)); } catch (loot::error &e) { - BOOST_LOG_TRIVIAL(error) << "Failed to change game. Details: " << e.what(); - callback->Failure(e.code(), string("Failed to change game. Details: ") + e.what()); + BOOST_LOG_TRIVIAL(error) << "Failed to get game data. Details: " << e.what(); + callback->Failure(e.code(), string("Failed to get game data. Details: ") + e.what()); } catch (std::exception& e) { - BOOST_LOG_TRIVIAL(error) << "Failed to change game. Details: " << e.what(); - callback->Failure(-1, string("Failed to change game. Details: ") + e.what()); + BOOST_LOG_TRIVIAL(error) << "Failed to get game data. Details: " << e.what(); + callback->Failure(-1, string("Failed to get game data. Details: ") + e.what()); } }