mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-01 19:40:39 +08:00
Error to Debug log fix.
This commit is contained in:
parent
5e48e0a5a6
commit
d3d16aa964
@ -482,12 +482,12 @@ ConnectRequestHandler::~ConnectRequestHandler()
|
|||||||
void ConnectRequestHandler::handle_message(const std::string& message)
|
void ConnectRequestHandler::handle_message(const std::string& message)
|
||||||
{
|
{
|
||||||
// read msg and choose action
|
// read msg and choose action
|
||||||
/*
|
/*
|
||||||
v0:
|
v0:
|
||||||
{"type":"request","detail":{"action":"requestAccessToken"}}
|
{"type":"request","detail":{"action":"requestAccessToken"}}
|
||||||
v1:
|
v1:
|
||||||
{"action":"REQUEST_ACCESS_TOKEN"}
|
{"action":"REQUEST_ACCESS_TOKEN"}
|
||||||
*/
|
*/
|
||||||
std::string action_string;
|
std::string action_string;
|
||||||
m_message_data = message;
|
m_message_data = message;
|
||||||
try {
|
try {
|
||||||
@ -554,7 +554,7 @@ ConnectWebViewPanel::ConnectWebViewPanel(wxWindow* parent)
|
|||||||
|
|
||||||
void ConnectWebViewPanel::on_script_message(wxWebViewEvent& evt)
|
void ConnectWebViewPanel::on_script_message(wxWebViewEvent& evt)
|
||||||
{
|
{
|
||||||
BOOST_LOG_TRIVIAL(error) << "recieved message from PrusaConnect FE: " << evt.GetString();
|
BOOST_LOG_TRIVIAL(debug) << "recieved message from PrusaConnect FE: " << evt.GetString();
|
||||||
handle_message(into_u8(evt.GetString()));
|
handle_message(into_u8(evt.GetString()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user