diff --git a/src/openrct2/scripting/Plugin.cpp b/src/openrct2/scripting/Plugin.cpp index 910337d5c6..7a6d7efa69 100644 --- a/src/openrct2/scripting/Plugin.cpp +++ b/src/openrct2/scripting/Plugin.cpp @@ -68,7 +68,7 @@ void Plugin::Load() { auto val = std::string(duk_safe_to_string(_context, -1)); duk_pop(_context); - throw std::runtime_error("Failed to load plug-in script: " + val); + throw std::runtime_error("Failed to load plug-in script: " + val + " at " + _path); } _metadata = GetMetadata(DukValue::take_from_stack(_context));