mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Don't indicate success in saving presets
This commit is contained in:
@ -191,7 +191,7 @@ class PresetManager {
|
|||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
toastr.error('Check the server connection and reload the page to prevent data loss.', 'Preset could not be saved');
|
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);
|
console.error('Preset could not be saved', response);
|
||||||
return;
|
throw new Error('Preset could not be saved');
|
||||||
}
|
}
|
||||||
|
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
|
Reference in New Issue
Block a user