Handle an odd intermittent issue and import recent changes from the wiki
This commit is contained in:
parent
a2a34c9fb3
commit
0cdbad886b
4 changed files with 10 additions and 6 deletions
|
@ -57599,7 +57599,7 @@ Dark Souls Remastered:
|
|||
id: 570940
|
||||
'Dark Souls: Prepare to Die Edition':
|
||||
files:
|
||||
<winDocuments>/NBGI/DarkSouls/DRAKS0005.sl2:
|
||||
<winDocuments>/NBGI/DarkSouls:
|
||||
tags:
|
||||
- save
|
||||
when:
|
||||
|
|
|
@ -26368,7 +26368,7 @@ Dandy Dungeon - Legend of Brave Yamada -:
|
|||
revId: 990633
|
||||
'Danganronpa Another Episode: Ultra Despair Girls':
|
||||
pageId: 53714
|
||||
revId: 990690
|
||||
revId: 991573
|
||||
'Danganronpa V3: Killing Harmony':
|
||||
pageId: 66707
|
||||
revId: 964404
|
||||
|
@ -26932,7 +26932,7 @@ Dark Souls Remastered:
|
|||
revId: 991562
|
||||
'Dark Souls: Prepare to Die Edition':
|
||||
pageId: 3367
|
||||
revId: 991216
|
||||
revId: 991575
|
||||
Dark Space Conqueror:
|
||||
pageId: 136958
|
||||
revId: 849104
|
||||
|
@ -47961,7 +47961,7 @@ Grooming Adventure:
|
|||
revId: 855510
|
||||
Groove Coaster:
|
||||
pageId: 98224
|
||||
revId: 904710
|
||||
revId: 991571
|
||||
Groove Gunner:
|
||||
pageId: 124542
|
||||
revId: 855512
|
||||
|
@ -92438,7 +92438,7 @@ Rustler:
|
|||
revId: 868017
|
||||
Rusty Hearts:
|
||||
pageId: 162574
|
||||
revId: 991563
|
||||
revId: 991574
|
||||
Rusty Lake Hotel:
|
||||
pageId: 37277
|
||||
revId: 964359
|
||||
|
|
|
@ -1 +1 @@
|
|||
lastCheckedRecentChanges: '2020-08-14T23:42:10.109Z'
|
||||
lastCheckedRecentChanges: '2020-08-15T00:08:12.436Z'
|
||||
|
|
|
@ -504,6 +504,10 @@ export async function getGame(pageTitle: string, cache: WikiGameCache): Promise<
|
|||
client.api, "call", params
|
||||
);
|
||||
const newTitle = data.pages[pageId.toString()].title;
|
||||
if (newTitle === undefined) {
|
||||
// This happened once intermittently; the cause is unclear.
|
||||
throw new Error("Unable to retrieve page by ID");
|
||||
}
|
||||
console.log(`:: getGame: page ${pageId} called '${pageTitle}' renamed to '${newTitle}'`);
|
||||
cache[newTitle] = cache[pageTitle];
|
||||
delete cache[pageTitle];
|
||||
|
|
Reference in a new issue