+1 vote

In this question:
https://godotengine.org/qa/339/does-gdscript-have-method-to-execute-string-code-exec-python
it is explained how to execute a string containing source code. However, this solution will give an error when the source code can't be parsed. Is it possible to intercept this parsing process somehow, and use the (in)parseability information to for instance notify the user about the problem, without filling the log with errors?

in Engine by (72 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.