Merge pull request #8741 from cclauss/patch-1
fix(data_migration): Undefined name e in data_migration_run.py
This commit is contained in:
commit
e5fca3d703
1 changed files with 1 additions and 1 deletions
|
|
@ -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)})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue