浏览代码

Mono: Fix build after #52940

Chose to pass unhandled exceptions to the toaster, we might want to reconsider
if those are already reported somewhere else (e.g. in the Mono panel).
Rémi Verschelde 4 年之前
父节点
当前提交
b9a59f60c1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/mono/mono_gd/gd_mono_utils.cpp

+ 1 - 1
modules/mono/mono_gd/gd_mono_utils.cpp

@@ -450,7 +450,7 @@ void debug_send_unhandled_exception_error(MonoException *p_exc) {
 	int line = si.size() ? si[0].line : __LINE__;
 	int line = si.size() ? si[0].line : __LINE__;
 	String error_msg = "Unhandled exception";
 	String error_msg = "Unhandled exception";
 
 
-	EngineDebugger::get_script_debugger()->send_error(func, file, line, error_msg, exc_msg, ERR_HANDLER_ERROR, si);
+	EngineDebugger::get_script_debugger()->send_error(func, file, line, error_msg, exc_msg, true, ERR_HANDLER_ERROR, si);
 #endif
 #endif
 }
 }