Don't indicate success in saving presets

This commit is contained in:
Cohee
2024-06-28 08:09:22 +00:00
parent 043eead149
commit 985c2dd031

View File

@ -191,7 +191,7 @@ class PresetManager {
if (!response.ok) {
toastr.error('Check the server connection and reload the page to prevent data loss.', 'Preset could not be saved');
console.error('Preset could not be saved', response);
return;
throw new Error('Preset could not be saved');
}
const data = await response.json();