mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-11 22:43:04 +00:00
feature add bury point for webview init.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "SSWCP.hpp"
|
||||
#include <wx/sizer.h>
|
||||
#include <slic3r/GUI/Widgets/WebView.hpp>
|
||||
#include "sentry_wrapper/SentryWrapper.hpp"
|
||||
|
||||
namespace Slic3r { namespace GUI {
|
||||
|
||||
@@ -117,7 +118,7 @@ void WebDeviceDialog::OnError(wxWebViewEvent &evt)
|
||||
case wxWEBVIEW_NAV_ERR_OTHER: e = "wxWEBVIEW_NAV_ERR_OTHER"; break;
|
||||
}
|
||||
BOOST_LOG_TRIVIAL(fatal) << __FUNCTION__<< boost::format(":WebDeviceDialog error loading page %1% %2% %3% %4%") % evt.GetURL() % evt.GetTarget() % e %evt.GetString();
|
||||
|
||||
Slic3r::sentryReportLog(Slic3r::SENTRY_LOG_FATAL, "bury_point_init WebDeviceDialog webview fail", BP_WEB_VIEW);
|
||||
}
|
||||
|
||||
void WebDeviceDialog::OnScriptMessage(wxWebViewEvent &evt)
|
||||
|
||||
Reference in New Issue
Block a user