Merge pull request #8741 from cclauss/patch-1

fix(data_migration): Undefined name e in data_migration_run.py
This commit is contained in:
mergify[bot] 2019-11-03 06:30:12 +00:00 committed by GitHub
commit e5fca3d703
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -412,7 +412,7 @@ class DataMigrationRun(Document):
self.update_log('pull_update', 1)
# post process doc after success
self.post_process_doc(remote_doc=d, local_doc=local_doc)
except Exception:
except Exception as e:
# failed, append to log
self.update_log('pull_failed', {migration_id_value: cstr(e)})