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:
+1
-1
@@ -118,7 +118,7 @@ async function saveWorld(slot, quiet) {
|
|||||||
if (!quiet) toast(slot === 'auto' ? 'Autosaved.' : 'World saved.');
|
if (!quiet) toast(slot === 'auto' ? 'Autosaved.' : 'World saved.');
|
||||||
return true;
|
return true;
|
||||||
} catch (e) {
|
} 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;
|
return false;
|
||||||
} finally { clearTimeout(indicator); if (!--savingCount) $('saving').hidden = true; }
|
} finally { clearTimeout(indicator); if (!--savingCount) $('saving').hidden = true; }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user