bulltrackers-module 1.0.375 → 1.0.376
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -194,10 +194,14 @@ exports.runRootDataIndexer = async (config, dependencies) => {
|
|
|
194
194
|
await db.collection(availabilityCollection).doc(dateStr).set(availability);
|
|
195
195
|
updatesCount++;
|
|
196
196
|
|
|
197
|
-
|
|
198
|
-
logger.log('ERROR', `[RootDataIndexer] Failed to index ${dateStr}`, {
|
|
197
|
+
} catch (e) {
|
|
198
|
+
logger.log('ERROR', `[RootDataIndexer] Failed to index ${dateStr}`, {
|
|
199
|
+
message: e.message,
|
|
200
|
+
code: e.code,
|
|
201
|
+
stack: e.stack,
|
|
202
|
+
full: JSON.stringify(e, Object.getOwnPropertyNames(e)),
|
|
203
|
+
});
|
|
199
204
|
}
|
|
200
|
-
}));
|
|
201
205
|
|
|
202
206
|
await Promise.all(promises);
|
|
203
207
|
logger.log('SUCCESS', `[RootDataIndexer] Indexing complete. Updated ${updatesCount} dates.`);
|