diff --git a/core/logic/DebugReporter.cpp b/core/logic/DebugReporter.cpp index 93fd5c41..fd34b14b 100644 --- a/core/logic/DebugReporter.cpp +++ b/core/logic/DebugReporter.cpp @@ -157,6 +157,12 @@ int DebugReport::_GetPluginIndex(IPluginContext *ctx) void DebugReport::ReportError(const IErrorReport &report, IFrameIterator &iter) { + // Don't log an error if a function wasn't runnable. + // This is necassary due to the way SM is handling and exposing + // scripted functions. It's too late to change that now. + if (report.Code() == SP_ERROR_NOT_RUNNABLE) + return; + const char *blame = nullptr; if (report.Blame()) { diff --git a/sourcepawn b/sourcepawn index 836bb7a6..b570d45c 160000 --- a/sourcepawn +++ b/sourcepawn @@ -1 +1 @@ -Subproject commit 836bb7a6da1f88b3c795f11e88306c724ccef5dc +Subproject commit b570d45c2e1a482221186c6eae7e9a6b4964f061