diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-12-01 23:50:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 23:50:49 +0100 |
commit | ff6789adc4c4d761d11792a024245ea65d95a8b9 (patch) | |
tree | 5195e0a87aa710ed42c60a3683ec07040fe57a95 /drivers/unix/file_access_unix.cpp | |
parent | 7f7e54656b4b0b878eceeeb06d2226915a6dc6f9 (diff) | |
parent | 5acb8a253e40c8e8f86c2e58f9cc7e1a9a020ccc (diff) |
Merge pull request #55532 from Calinou/fileaccess-get-modified-time-silence-error
Diffstat (limited to 'drivers/unix/file_access_unix.cpp')
-rw-r--r-- | drivers/unix/file_access_unix.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/unix/file_access_unix.cpp b/drivers/unix/file_access_unix.cpp index f07c654bd6..dc21d1d8e5 100644 --- a/drivers/unix/file_access_unix.cpp +++ b/drivers/unix/file_access_unix.cpp @@ -307,7 +307,8 @@ uint64_t FileAccessUnix::_get_modified_time(const String &p_file) { if (!err) { return flags.st_mtime; } else { - ERR_FAIL_V_MSG(0, "Failed to get modified time for: " + p_file + "."); + print_verbose("Failed to get modified time for: " + p_file + ""); + return 0; }; } |