Skip to content

Commit

Permalink
Mono: Fix build after godotengine#52940
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
akien-mga committed Oct 20, 2021
1 parent 9e44a8e commit b9a59f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mono/mono_gd/gd_mono_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ void debug_send_unhandled_exception_error(MonoException *p_exc) {
int line = si.size() ? si[0].line : __LINE__;
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
}

Expand Down

0 comments on commit b9a59f6

Please sign in to comment.