mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-31 21:21:58 +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)
|
||||
{
|
||||
// read msg and choose action
|
||||
/*
|
||||
v0:
|
||||
{"type":"request","detail":{"action":"requestAccessToken"}}
|
||||
v1:
|
||||
{"action":"REQUEST_ACCESS_TOKEN"}
|
||||
*/
|
||||
/*
|
||||
v0:
|
||||
{"type":"request","detail":{"action":"requestAccessToken"}}
|
||||
v1:
|
||||
{"action":"REQUEST_ACCESS_TOKEN"}
|
||||
*/
|
||||
std::string action_string;
|
||||
m_message_data = message;
|
||||
try {
|
||||
@ -554,7 +554,7 @@ ConnectWebViewPanel::ConnectWebViewPanel(wxWindow* parent)
|
||||
|
||||
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()));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user