Merge pull request #55532 from Calinou/fileaccess-get-modified-time-silence-error

This commit is contained in:
Rémi Verschelde 2021-12-01 23:50:49 +01:00 committed by GitHub
commit ff6789adc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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;
};
}

View File

@ -335,7 +335,8 @@ uint64_t FileAccessWindows::_get_modified_time(const String &p_file) {
if (rv == 0) {
return st.st_mtime;
} else {
ERR_FAIL_V_MSG(0, "Failed to get modified time for: " + file + ".");
print_verbose("Failed to get modified time for: " + p_file + "");
return 0;
}
}