mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-24 19:25:56 +00:00
Make the update check survive damaged launcher state and an unavailable database
A crash during a launcher write can leave .state/*.json zero-filled, which made every launcher start (and so the update check) fail with "Something went wrong". Zero-filled state files are now discarded before each launcher verb, the check degrades to a warning when the database cannot be inspected, and database start failures carry the launcher's own output. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fac6ce469a
commit
c6e8a34509
13 files changed
+80
-4
No files matched your search
@@ -285,6 +285,8 @@ export interface UpdatePreview {
|
||||
migrations: number;
|
||||
pending_migrations?: number;
|
||||
download_bytes: number;
|
||||
/** Set when the database could not be inspected; the file comparison is still valid. */
|
||||
database_check_error?: string;
|
||||
}
|
||||
|
||||
export interface UpdateTxn {
|
||||
|
||||
Reference in new issue
Block a user