diff options
author | Rindbee <idleman@yeah.net> | 2023-05-11 22:32:16 +0800 |
---|---|---|
committer | Rindbee <idleman@yeah.net> | 2023-06-15 21:06:10 +0800 |
commit | cbce374f68b1148020786dec24127ccd89209afa (patch) | |
tree | 320d9eacc654a180581d57dd30f62667a344a5a3 /platform/android/export/export_plugin.cpp | |
parent | 773414606079fa745d1c37fce49324ab6a09e972 (diff) | |
download | redot-engine-cbce374f68b1148020786dec24127ccd89209afa.tar.gz |
Returns null and does not cache when the source code of the script fails to load
This usually means that an `ERR_FILE*` error occurred.
Previously, using `GDScriptCache::get_full_script()` would ignore errors during loading.
Now, all errors are not ignored.
Judging in which period the error occurred, it can be judged based on the return value:
1. null + err : Error during script loading (load_source_code()).
2. script + err: Error during script parsing.
Diffstat (limited to 'platform/android/export/export_plugin.cpp')
0 files changed, 0 insertions, 0 deletions