mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", "modules/gdnative", "modules/gdscript" directories.
This commit is contained in:
@@ -901,8 +901,7 @@ class EditorExportPlatformUWP : public EditorExportPlatform {
|
||||
String err_string = "Couldn't save temp logo file.";
|
||||
|
||||
EditorNode::add_io_error(err_string);
|
||||
ERR_EXPLAIN(err_string);
|
||||
ERR_FAIL_V(data);
|
||||
ERR_FAIL_V_MSG(data, err_string);
|
||||
}
|
||||
|
||||
FileAccess *f = FileAccess::open(tmp_path, FileAccess::READ, &err);
|
||||
@@ -912,8 +911,7 @@ class EditorExportPlatformUWP : public EditorExportPlatform {
|
||||
String err_string = "Couldn't open temp logo file.";
|
||||
|
||||
EditorNode::add_io_error(err_string);
|
||||
ERR_EXPLAIN(err_string);
|
||||
ERR_FAIL_V(data);
|
||||
ERR_FAIL_V_MSG(data, err_string);
|
||||
}
|
||||
|
||||
data.resize(f->get_len());
|
||||
@@ -930,8 +928,7 @@ class EditorExportPlatformUWP : public EditorExportPlatform {
|
||||
String err_string = "Couldn't open temp path to remove temp logo file.";
|
||||
|
||||
EditorNode::add_io_error(err_string);
|
||||
ERR_EXPLAIN(err_string);
|
||||
ERR_FAIL_V(data);
|
||||
ERR_FAIL_V_MSG(data, err_string);
|
||||
}
|
||||
|
||||
err = dir->remove(tmp_path);
|
||||
@@ -943,8 +940,7 @@ class EditorExportPlatformUWP : public EditorExportPlatform {
|
||||
String err_string = "Couldn't remove temp logo file.";
|
||||
|
||||
EditorNode::add_io_error(err_string);
|
||||
ERR_EXPLAIN(err_string);
|
||||
ERR_FAIL_V(data);
|
||||
ERR_FAIL_V_MSG(data, err_string);
|
||||
}
|
||||
|
||||
return data;
|
||||
|
||||
Reference in New Issue
Block a user