You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constCOMPACTION_INTERVAL=1000*60*60*24;// once per day
26
26
@@ -34,7 +34,7 @@ if (process.env.NODE_ENV === 'test') {
34
34
try{
35
35
db.ensureIndex({fieldName: 'id',unique: true});
36
36
}catch(error: unknown){
37
-
handleAndLogError(
37
+
handleErrorAndLog(
38
38
error,
39
39
'Failed to build a unique index of push id values. Please check your database file for duplicate entries or delete the duplicate through the UI and restart. ',
constCOMPACTION_INTERVAL=1000*60*60*24;// once per day
25
25
@@ -33,7 +33,7 @@ if (process.env.NODE_ENV === 'test') {
33
33
try{
34
34
db.ensureIndex({fieldName: 'url',unique: true});
35
35
}catch(error: unknown){
36
-
handleAndLogError(
36
+
handleErrorAndLog(
37
37
error,
38
38
'Failed to build a unique index of Repository URLs. Please check your database file for duplicate entries or delete the duplicate through the UI and restart. ',
'Failed to build a unique index of usernames. Please check your database file for duplicate entries or delete the duplicate through the UI and restart. ',
'Failed to build a unique index of user email addresses. Please check your database file for duplicate entries or delete the duplicate through the UI and restart. ',
0 commit comments