mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-12 06:52:57 +00:00
feature add bury point for webview init.
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#include <slic3r/GUI/Widgets/WebView.hpp>
|
||||
#include <wx/webview.h>
|
||||
#include "slic3r/GUI/SSWCP.hpp"
|
||||
#include "sentry_wrapper/SentryWrapper.hpp"
|
||||
|
||||
namespace pt = boost::property_tree;
|
||||
|
||||
@@ -184,6 +185,7 @@ void PrinterWebView::OnError(wxWebViewEvent &evt)
|
||||
break;
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(fatal) << __FUNCTION__<< boost::format(":PrinterWebView error loading page %1% %2% %3% %4%") %evt.GetURL() %evt.GetTarget() %e %evt.GetString();
|
||||
Slic3r::sentryReportLog(Slic3r::SENTRY_LOG_FATAL, "bury_point_init PrinterWebView webview fail", BP_WEB_VIEW);
|
||||
}
|
||||
|
||||
void PrinterWebView::OnLoaded(wxWebViewEvent &evt)
|
||||
|
||||
Reference in New Issue
Block a user