summaryrefslogtreecommitdiffstats
path: root/platform/iphone/export/export.cpp
diff options
context:
space:
mode:
authorRobin Hübner <profan@prfn.se>2019-08-09 06:49:33 +0200
committerRobin Hübner <profan@prfn.se>2019-08-09 11:13:24 +0200
commit6ab118c4646b136cd83ff8406ce62a2576809def (patch)
tree7dc10741d9b7c609951f3568e31479257311c59b /platform/iphone/export/export.cpp
parent22b42c3315081144ecea26e4a51600255dc8eed6 (diff)
downloadredot-engine-6ab118c4646b136cd83ff8406ce62a2576809def.tar.gz
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", "modules/gdnative", "modules/gdscript" directories.
Diffstat (limited to 'platform/iphone/export/export.cpp')
-rw-r--r--platform/iphone/export/export.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/platform/iphone/export/export.cpp b/platform/iphone/export/export.cpp
index a179b36bd5..1cbf4d6a70 100644
--- a/platform/iphone/export/export.cpp
+++ b/platform/iphone/export/export.cpp
@@ -768,8 +768,7 @@ Error EditorExportPlatformIOS::_export_additional_assets(const String &p_out_dir
DirAccess *da = DirAccess::create_for_path(asset);
if (!da) {
memdelete(filesystem_da);
- ERR_EXPLAIN("Can't create directory: " + asset);
- ERR_FAIL_V(ERR_CANT_CREATE);
+ ERR_FAIL_V_MSG(ERR_CANT_CREATE, "Can't create directory: " + asset + ".");
}
bool file_exists = da->file_exists(asset);
bool dir_exists = da->dir_exists(asset);
@@ -848,8 +847,7 @@ Error EditorExportPlatformIOS::export_project(const Ref<EditorExportPreset> &p_p
EditorProgress ep("export", "Exporting for iOS", 5, true);
String team_id = p_preset->get("application/app_store_team_id");
- ERR_EXPLAIN("App Store Team ID not specified - cannot configure the project.");
- ERR_FAIL_COND_V(team_id.length() == 0, ERR_CANT_OPEN);
+ ERR_FAIL_COND_V_MSG(team_id.length() == 0, ERR_CANT_OPEN, "App Store Team ID not specified - cannot configure the project.");
if (p_debug)
src_pkg_name = p_preset->get("custom_package/debug");