summaryrefslogtreecommitdiffstats
path: root/platform/iphone/export/export.cpp
diff options
context:
space:
mode:
authorqarmin <mikrutrafal54@gmail.com>2019-07-20 08:09:57 +0200
committerqarmin <mikrutrafal54@gmail.com>2019-07-20 08:09:57 +0200
commit6cbaf7662f5ee3ca1d02c0ebc85854fceee057af (patch)
tree9c6c688f72d0a6e2e79879be73e15adeb328d1b1 /platform/iphone/export/export.cpp
parent584ca0f156cec64c259382895e105cf27566a987 (diff)
downloadredot-engine-6cbaf7662f5ee3ca1d02c0ebc85854fceee057af.tar.gz
Changed some code showed in LGTM and Coverage
Diffstat (limited to 'platform/iphone/export/export.cpp')
-rw-r--r--platform/iphone/export/export.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/iphone/export/export.cpp b/platform/iphone/export/export.cpp
index 85a45d62f8..a179b36bd5 100644
--- a/platform/iphone/export/export.cpp
+++ b/platform/iphone/export/export.cpp
@@ -768,7 +768,8 @@ Error EditorExportPlatformIOS::_export_additional_assets(const String &p_out_dir
DirAccess *da = DirAccess::create_for_path(asset);
if (!da) {
memdelete(filesystem_da);
- ERR_FAIL_COND_V(!da, ERR_CANT_CREATE);
+ ERR_EXPLAIN("Can't create directory: " + asset);
+ ERR_FAIL_V(ERR_CANT_CREATE);
}
bool file_exists = da->file_exists(asset);
bool dir_exists = da->dir_exists(asset);