Przeglądaj źródła

Merge pull request #11529 from overleaf/bg-report-whole-error

log the full result from history migrations

GitOrigin-RevId: 55aaa7bbd88a61234dcf1247ddbf8af543fc4bc1
Brian Gough 3 lat temu
rodzic
commit
56cb937672

+ 1 - 1
services/web/scripts/history/migrate_history.js

@@ -88,7 +88,7 @@ async function migrateProjects(projectsToMigrate) {
     console.log(`Migrating project: ${project._id}`)
     console.log(`Migrating project: ${project._id}`)
     try {
     try {
       const result = await upgradeProject(project._id)
       const result = await upgradeProject(project._id)
-      console.log(`migration result: ${JSON.stringify(result)}`)
+      console.log('migration result', result)
       projectsMigrated++
       projectsMigrated++
     } catch (err) {
     } catch (err) {
       projectsFailed++
       projectsFailed++