moonsharp
moonsharp copied to clipboard
ScriptRuntimeException thrown from Table.ResolveMultipleKeys has incorrectly formatted error message
These are lines 137-141 in Table.ResolveMultipleKeys:
if (vt == null)
throw new ScriptRuntimeException("Key '{0}' did not point to anything");
if (vt.Type != DataType.Table)
throw new ScriptRuntimeException("Key '{0}' did not point to a table");
As you can see, the messages have placeholders but are not formatted, showing messages like this : MoonSharp.Interpreter.ScriptRuntimeException : Key '{0}' did not point to anything