mirror of https://github.com/godotengine/godot
Add `path` option to `ScriptLanguageExtension::_validate`
This commit is contained in:
parent
f8818f85e6
commit
e8309dd192
|
|
@ -313,6 +313,9 @@ public:
|
|||
ERR_CONTINUE(!err.has("message"));
|
||||
|
||||
ScriptError serr;
|
||||
if (err.has("path")) {
|
||||
serr.path = err["path"];
|
||||
}
|
||||
serr.line = err["line"];
|
||||
serr.column = err["column"];
|
||||
serr.message = err["message"];
|
||||
|
|
|
|||
Loading…
Reference in New Issue