Save error says storage is full on QuotaExceededError (t86)

Written by the local model (qwen3-coder-30b) in a sandboxed worktree via local-run; reviewed by Claude.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 18:41:36 -04:00
co-authored by Claude Opus 5.5
parent 437448ab1d
commit 75d4e8ee4e
+1 -1
View File
@@ -118,7 +118,7 @@ async function saveWorld(slot, quiet) {
if (!quiet) toast(slot === 'auto' ? 'Autosaved.' : 'World saved.');
return true;
} catch (e) {
if (!quiet) toast('Could not save. Browser storage is unavailable in this view. Use Export world file instead.');
if (!quiet) toast(e && e.name === 'QuotaExceededError' ? 'Could not save. Browser storage is full. Use Export world file to keep this world, then delete old worlds.' : 'Could not save. Browser storage is unavailable in this view. Use Export world file instead.');
return false;
} finally { clearTimeout(indicator); if (!--savingCount) $('saving').hidden = true; }
}