diff options
author | Larry Tran <lawrence.c.tran@outlook.com> | 2022-08-05 18:47:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-05 18:47:20 -0500 |
commit | 2ea4baae0a0dbf76b9b2fe71bdcb72601ddab868 (patch) | |
tree | 622c070fce3229f151f941d74324b31f5f5ac3fd /core/io | |
parent | e029e664548dcada4d07a7e2f85cad18bb2feebe (diff) | |
parent | c80540f9a20b45d107b9bed1e749571a83492337 (diff) |
Merge branch 'master' into bugfix-ios-export
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/dir_access.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/io/dir_access.h b/core/io/dir_access.h index 22017efaa3..d5318dfb45 100644 --- a/core/io/dir_access.h +++ b/core/io/dir_access.h @@ -108,6 +108,8 @@ public: if (da->remove(p_path) != OK) { ERR_FAIL_MSG("Cannot remove file or directory: " + p_path); } + } else { + ERR_FAIL_MSG("Cannot remove non-existent file or directory: " + p_path); } } |