mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-04 14:19:13 -04:00
Merge 3bbb9f2ce7
into 9eac04aaa6
This commit is contained in:
commit
32f81bbf5e
2 changed files with 28 additions and 4 deletions
|
@ -156,7 +156,15 @@ function convertPad(padId, callback)
|
|||
//parse the pages
|
||||
for(var i=0,length=results.length;i<length;i++)
|
||||
{
|
||||
parsePage(chatMessages, results[i].PAGESTART, results[i].OFFSETS, results[i].DATA, true);
|
||||
try
|
||||
{
|
||||
parsePage(chatMessages, results[i].PAGESTART, results[i].OFFSETS, results[i].DATA, true);
|
||||
}
|
||||
catch (xerr)
|
||||
{
|
||||
console.log("Could not parse PAD_CHAT_TEXT for padid:", padId);
|
||||
throw(xerr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -194,7 +202,15 @@ function convertPad(padId, callback)
|
|||
//parse the pages
|
||||
for(var i=0,length=results.length;i<length;i++)
|
||||
{
|
||||
parsePage(changesetsMeta, results[i].PAGESTART, results[i].OFFSETS, results[i].DATA, true);
|
||||
try
|
||||
{
|
||||
parsePage(changesetsMeta, results[i].PAGESTART, results[i].OFFSETS, results[i].DATA, true);
|
||||
}
|
||||
catch (xerr)
|
||||
{
|
||||
console.log("Could not parse PAD_REVMETA_TEXT for padid:", padId);
|
||||
throw(xerr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -228,7 +244,15 @@ function convertPad(padId, callback)
|
|||
//parse the pages
|
||||
for(var i=0, length=results.length;i<length;i++)
|
||||
{
|
||||
parsePage(authors, results[i].PAGESTART, results[i].OFFSETS, results[i].DATA, true);
|
||||
try
|
||||
{
|
||||
parsePage(authors, results[i].PAGESTART, results[i].OFFSETS, results[i].DATA, true);
|
||||
}
|
||||
catch (xerr)
|
||||
{
|
||||
console.log("Could not parse PAD_AUTHORS_TEXT for padid:", padId);
|
||||
throw(xerr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"etherpad-db":
|
||||
"etherpadDB":
|
||||
{
|
||||
"host": "localhost",
|
||||
"port": 3306,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue