From d3d16aa964d30f28ecbd7c097a6eaa8df4c0fb28 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Wed, 24 Apr 2024 10:04:48 +0200 Subject: [PATCH] Error to Debug log fix. --- src/slic3r/GUI/WebViewDialog.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/slic3r/GUI/WebViewDialog.cpp b/src/slic3r/GUI/WebViewDialog.cpp index 69231c3876..8d297d84f9 100644 --- a/src/slic3r/GUI/WebViewDialog.cpp +++ b/src/slic3r/GUI/WebViewDialog.cpp @@ -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())); }