MISC: Improve exception alert (#1709)

This commit is contained in:
catloversg
2024-10-22 10:36:29 +07:00
committed by GitHub
parent 8d1cfb2d97
commit bc51733fbe
10 changed files with 47 additions and 59 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import { GetServer } from "./Server/AllServers";
import { ImportPlayerData, ElectronGameData, saveObject } from "./SaveObject";
import { exportScripts } from "./Terminal/commands/download";
import { CONSTANTS } from "./Constants";
import { hash } from "./hash/hash";
import { commitHash } from "./utils/helpers/commitHash";
import { resolveFilePath } from "./Paths/FilePath";
import { hasScriptExtension } from "./Paths/ScriptFilePath";
import { handleGetSaveDataError } from "./Netscript/ErrorMessages";
@@ -230,7 +230,7 @@ export function pushGameReady(): void {
},
game: {
version: CONSTANTS.VersionString,
hash: hash(),
hash: commitHash(),
},
});
}