diff options
| author | est31 | 2015-11-25 06:28:51 +0100 |
|---|---|---|
| committer | est31 | 2015-11-25 06:50:08 +0100 |
| commit | 5dc9770febf18ec2716a897528927cefadd23ab6 (patch) | |
| tree | b25ca5501e6bd2daaee7a968ee51f4418b87dc34 /tools/editor/editor_node.cpp | |
| parent | 1ac7d4fc77e6157a8db78aa3c9f82342f72c5bb7 (diff) | |
| download | godot-5dc9770febf18ec2716a897528927cefadd23ab6.tar.gz godot-5dc9770febf18ec2716a897528927cefadd23ab6.tar.zst godot-5dc9770febf18ec2716a897528927cefadd23ab6.zip | |
Print errors to console when exporting
Now you the errors when exporting via godot server binary.
When exporting via non-headless godot, it is useful to have the error
on the console as well.
Also exit and print a list of valid export platforms when
the supplied platform was not found.
Diffstat (limited to 'tools/editor/editor_node.cpp')
| -rw-r--r-- | tools/editor/editor_node.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index 4e2259288..30e9931d1 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -3857,7 +3857,8 @@ bool EditorNode::_find_editing_changed_scene(Node *p_from) { void EditorNode::add_io_error(const String& p_error) { - + CharString err_ut = p_error.utf8(); + ERR_PRINT(err_ut.get_data()); _load_error_notify(singleton,p_error); } |
