mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Add error message when settings could not be saved to the server.
This commit is contained in:
		| @@ -3991,6 +3991,7 @@ async function saveSettings(type) { | |||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|         error: function (jqXHR, exception) { |         error: function (jqXHR, exception) { | ||||||
|  |             toastr.error('Check the server connection and reload the page to prevent data loss.', 'Settings could not be saved'); | ||||||
|             console.log(exception); |             console.log(exception); | ||||||
|             console.log(jqXHR); |             console.log(jqXHR); | ||||||
|         }, |         }, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user