You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-27 15:57:02 +00:00
Added error checks for fscache saving
(cherry picked from commit 06e537fec5)
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
3503ee4be6
commit
c2e02e2066
@@ -942,11 +942,8 @@ void EditorSettings::save() {
|
||||
Error err = ResourceSaver::save(singleton->config_file_path, singleton);
|
||||
|
||||
if (err != OK) {
|
||||
ERR_PRINT("Can't Save!");
|
||||
return;
|
||||
}
|
||||
|
||||
if (OS::get_singleton()->is_stdout_verbose()) {
|
||||
ERR_PRINTS("Error saving editor settings to " + singleton->config_file_path);
|
||||
} else if (OS::get_singleton()->is_stdout_verbose()) {
|
||||
print_line("EditorSettings Save OK!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user